skan <juanpide <at> gmail.com> writes: > How can I get multipanel conditioning graphics with rgl as I do with lattice > "|" > > For example I have three variables x, y, z, w. Where x,y,z are continuous > and w is categorical or discrete. > I want to use plot3d(x,y,z) for each value of w in a panel > something like plot3d(z~x*y|w)
You don't. Sorry. You might be able to use split(), lapply() ... to concoct your own solution (presumably you would open a separate rgl window for each 'facet'). suppose d is a data frame with elements x, y, z, w. something like: dsplit <- split(d,d$w) lapply(dsplit, function(delement) { rgl.open() with(delement,plot3d(x,y,z)) }) might work. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.