An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20090206/ac234996/attachment-0001.pl>
beanplot, Error in shapiro.test(x)
2 messages · Markus Loecher, Peter Kampstra
2 days later
On Fri, 6 Feb 2009, Markus Loecher wrote:
I am getting the following error message: Error in shapiro.test(x) : sample size must be between 3 and 5000 I am not even sure why the shapiro.test is being used, but is there any workaround ?
Yes, use log="". (ex: beanplot(rnorm(5001),log="") ) The default, log="auto", uses shapiro.test. Perhaps this should be improved for sample sizes greater than 5000. On the other end, shapiro.test could be improved in the future, and 5000 is quite a lot for a beanplot. When the data set is very large, R will freeze for some time. Regards, Peter Kampstra