[R] yuen function of the WRS2 package
bgunter.4567 at gmail.com
Wed Aug 31 00:06:25 CEST 2016
To be clear, I know nothing about this package, but the following may
be helpful for those who do:
1. What exacty was the error message that you received? Or was it a
warning? "cannot read" may be too vague to allow others to respond.
2. ?maintainer to find the package maintainer. It may be necessary to
contact them directly with the problem.
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Tue, Aug 30, 2016 at 2:07 PM, James Henson <jfhenson1 at gmail.com> wrote:
> Greetings R community,
> Here is a small but perplexing problem with the ‘yuen’ function in the
> ‘WRS2’ package.
> I begin with the ‘eurosoccer’ data frame from the ‘WRS2’ package.
> Then make a subset that contains only two Leagues Spain and Germany
> (subset data frame is ‘SpainGer’). The ‘yuen’ function cannot read
> the data in subset data frame ‘SpainGer’. My code is below.
> Thanks you for your help.
> James F. Henson
> # Examples from 'Robust Statistical Methods on R Using the WRS2 Package’
> # Robust t-test, and ANOVA (pages5-13)
> # make a subset with only Spain and Germany
> SpainGer <- subset (eurosoccer, subset = League =="Spain" | League == "Germany")
> # The 'yuen' function can not read the data in the subset data.frame "SpainGer"
> yuen(GoalsGame ~ League, tr=0.2, data = SpainGer)
> # the 'yuen' function works on the orginioal data.frame
> yuen(GoalsGame ~ League, tr=0.2, data = eurosoccer)
> # the 'aov' function reads the data in the subset data.frame "SpainGer"
> Goals.fit <- aov(GoalsGame ~ League, data = SpainGer)
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help