[R] [R]: Trellis plot
e.corda at oncfs.gouv.fr
Wed Jan 22 16:37:55 CET 2003
I would be grateful if anyone could help me with the following. I am using
nlme library and I am trying to do a trellis plot with an outer factor, but
I have an error message which I can't understand.
Here is the code :
> mydata <- groupedData(y ~ x | warren/rabbit, outer= ~ treatment,
# I obtain a plot with all rabbits displayed individually and no outer factor.
> plot(mydata, outer = ~ treatment)
Error in order(na.last, decreasing, ...) :
Argument lengths differ
I use R 1.5.1 with Windows 2000.
I hope I've given enough information. Thanks a lot for your time.
Office national de la chasse et de la faune sauvage
5, rue de Saint Thibault
BP 20 - 78612 LE PERRAY EN YVELINES Cedex
Tel : +33 (0)126.96.36.199.64
Fax : +33 (0)188.8.131.52.99
Email : e.corda at oncfs.gouv.fr
More information about the R-help