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

ilmari ilmari.juutilainen at indalgo.com
Tue Feb 21 05:49:54 CET 2012


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 selection. It can be circumvented by
using another bandwidth selection method for density(), e.g. beanplot(y~x,
bw="nrd").


--
View this message in context: http://r.789695.n4.nabble.com/beanplot-Error-sample-is-too-sparse-to-find-TD-tp4291739p4405983.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list