[R] scatter3d: problem with spheres-color
René Mayer
mayer at psychologie.tu-dresden.de
Thu Apr 12 19:14:21 CEST 2012
Dear List,
I don't get scatter3d to color the sheres according to the '|' argument.
library(car)
scatter3d(prestige ~ income + education|type, data=Prestige)
The spheres on my screen are all colored the same and they are not
conditional on Prestige$type.
On the other hand: Fit3d and Ellipse3d are colored according to the
group argument.
rgl_0.92.879
car_2.0-12
R version 2.15.0
i686-pc-linux-gnu (32-bit)
I checked this under windows and: here they are colored according to
'Prestige$type'.
Hmm? What goes wrong here, any ideas?
thanks,
René
More information about the R-help
mailing list