[R] [External] latticeExtra

Thomas Subia tg@77m @end|ng |rom y@hoo@com
Tue Jun 6 06:19:55 CEST 2023


 Colleagues,
Thanks for the help!
Root cause of the problem was not to define z and x as factors!Now I know better.
All the best,
Thomas Subia


    On Monday, June 5, 2023 at 08:45:39 PM PDT, Richard M. Heiberger <rmh using temple.edu> wrote:  
 
 This works.
> d$zz <- factor(d$z, levels=c("low","med","high"))
> d$xx <- as.factor(d$x)
> cloud(y~xx+zz, d, panel.3d.cloud=panel.3dbars, col.facet='grey', 
+      xbase=0.4, ybase=0.4, scales=list(arrows=FALSE, col=1), 
+      par.settings = list(axis.line = list(col = "transparent")))
> 

the default levels for factor are alphabetic.  That is ok for d$x.

  
	[[alternative HTML version deleted]]



More information about the R-help mailing list