Re: [R] beanplot-Error: sample is too sparse to find TD

2012-02-20 Thread ilmari
Enomis wrote > >> beanplot(tmp1 ~ tmp2, log="", what=c(1,1,1,0), ylim=c(-1,2)) > Still, I do not know how I could be able to plot my original data. Anyone > has got a clue? > The same problem occurred in my code after I changed to a newer R version. The problem is related to the bandwidth sele

Re: [R] beanplot-Error: sample is too sparse to find TD

2012-01-16 Thread Enomis
Hello again, Well, I still couldn't solve my problem, but I think it really depends on the distribution of the data. When I only use the first e.g. 2000 values of my data vectors, there is no problem with creating the beanplots. But when I use some random data which is normally distributed, I

[R] beanplot-Error: sample is too sparse to find TD

2012-01-13 Thread Enomis
Hi all, Since two days I am trying to find a solution to be able to create beanplots for my data. When I call the beanplot function the following error appears: > beanplot(y1 ~ x1, log="", what=c(1,1,1,0), ylim=c(0,1)) > Error in bw.SJ(x, method = "dpi") : sample is too sparse to find TD What is

Re: [R] beanplot without log scale?

2011-11-11 Thread Dennis Murphy
Hi: Try the log = "" argument to beanplot(). Here's an example: library('beanplot') v <- exp(runif(1000, 0, 10)) beanplot(v) beanplot(v, log = '"") HTH, Dennis On Thu, Nov 10, 2011 at 1:27 PM, Twila Moon wrote: > Is it possible to force beanplot not to use a log scale? I want to be able to >

[R] beanplot without log scale?

2011-11-10 Thread Twila Moon
Is it possible to force beanplot not to use a log scale? I want to be able to create multiple beanplots of different data on the same specified y-axis. When I try to force a ylim, I get the following... > beanplot(reg5vel,ylim=(c(0,12000))) log="y" selected Warning message: In plot.window(xlim =

Re: [R] beanplot

2011-02-05 Thread Jim Lemon
On 02/06/2011 09:12 AM, Paul Ossenbruggen wrote: Hello, sample1, sample2 and sample3 are vectors of numbers. The boxplot works properly but beanplot gives the following error for following run: boxplot(sample1, sample2, sample3, ylim = ylim, main = "boxplot", names = 1:3)

[R] beanplot

2011-02-05 Thread Paul Ossenbruggen
Hello, sample1, sample2 and sample3 are vectors of numbers. The boxplot works properly but beanplot gives the following error for following run: > boxplot(sample1, sample2, sample3, ylim = ylim, main = "boxplot", names = > 1:3) > beanplot(sample1, sample2, sample3, ylim = y

Re: [R] beanplot, Error in shapiro.test(x)

2009-02-08 Thread Peter Kampstra
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="") ) Th

[R] beanplot, Error in shapiro.test(x)

2009-02-06 Thread Markus Loecher
Dear all, I am trying to create beanplots from a dataset for which boxplot works fine. (MACOS, R 2.8.1 GUI 1.27 Tiger build 32-bit (5301)) 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 u