ezANOVA() fails for unbalanced completely between-Ss design

319 views
Skip to first unread message

or duek

unread,
Oct 23, 2011, 10:41:07 AM10/23/11
to ez4r
Hi,
I encountered this problem also.
https://github.com/mike-lawrence/ez/issues/1
As I'm not an expert, can anyone tell me how to implement the fix?
thank you very much.

Mike Lawrence

unread,
Oct 23, 2011, 11:32:07 AM10/23/11
to ez...@googlegroups.com
See the message on the ez github home page
(https://github.com/mike-lawrence/ez) for instructions on how to
download and load the latest ez source.

or duek

unread,
Oct 24, 2011, 5:37:27 AM10/24/11
to ez4r
thank you very much for that.
But...now I get a different error message:

Error in order(str_count(to_return$ANOVA$Effect, ":")) :
could not find function "str_count"

both if I run ezPLOT or ezANOVA.

ROLO

unread,
Oct 24, 2011, 5:41:38 AM10/24/11
to ez4r
Hi Mike,

I found that I needed to add the ssl.verifypeer option to your
download instructions:

getURL( 'https://raw.github.com/mike-lawrence/ez/master/R/ezDev.R',
ssl.verifypeer=FALSE )

Maybe you can update them?

And another question (I hope I am not hijacking this thread): when do
you plan to release a new version of the package via CRAN? Having a
stable, released package would make advocating to use ez to my (rather
new to R) colleagues much easier for me.

Best regards and thanks for the nice work with ez,
Roelof

On Oct 23, 5:32 pm, Mike Lawrence <Mike.Lawre...@dal.ca> wrote:

or duek

unread,
Oct 26, 2011, 8:20:25 AM10/26/11
to ez4r
It seems to have that option in the github page.

Do you also suffer from the same problem as I in the ezPlot function?

ROLO

unread,
Oct 26, 2011, 12:12:37 PM10/26/11
to ez4r
That option was added this week, after my suggestion, thanks Mike.

And I did not suffer from the ezPlot problem, but from this ezANOVA
problem:
https://github.com/mike-lawrence/ez/issues/1

which has been solved in the development version.

or duek

unread,
Oct 29, 2011, 4:07:04 AM10/29/11
to ez4r
I really don't know why do I get this strange error in ezPLOT (using
the latest development version)

Warning: Data is unbalanced (unequal N per group). Make sure you
specified a well-considered value for the type argument to ezANOVA().
Error in order(str_count(to_return$ANOVA$Effect, ":")) :
could not find function "str_count"

Any help would be appreciated.

Mike Lawrence

unread,
Oct 29, 2011, 5:18:37 AM10/29/11
to ez...@googlegroups.com
Sorry for not replying earlier, I was down all week with a rather
potent cold and only sporadically doing email.

Your error suggests that somehow ezDev either failed to install or
failed to load the stringr package. Try doing this yourself manually:

install.packages('stringr')
library(stringr)
library(RCurl); eval(expr =
parse(text=getURL('https://raw.github.com/mike-lawrence/ez/master/R/ezDev.R',ssl.verifypeer=FALSE)));
ezDev()

or duek

unread,
Oct 29, 2011, 5:24:21 AM10/29/11
to ez4r
thank you very much !!
That did the trick.

Hope you'll feel better.

On Oct 29, 11:18 am, Mike Lawrence <Mike.Lawre...@dal.ca> wrote:
> Sorry for not replying earlier, I was down all week with a rather
> potent cold and only sporadically doing email.
>
> Your error suggests that somehow ezDev either failed to install or
> failed to load the stringr package. Try doing this yourself manually:
>
> install.packages('stringr')
> library(stringr)
> library(RCurl); eval(expr =
> parse(text=getURL('https://raw.github.com/mike-lawrence/ez/master/R/ezDev.R',ssl.verifyp...
Reply all
Reply to author
Forward
0 new messages