Skip to content
Prev 199185 / 398503 Next

Two questions about cloud().

On Tue, Nov 3, 2009 at 3:57 PM, Rolf Turner <r.turner at auckland.ac.nz> wrote:
Yes, 'type' can be a vector, similar to the behaviour in xyplot():

cloud(Sepal.Length ~ Petal.Length * Petal.Width, data = iris, type =
c("p", "h"))
There doesn't seem to be an easy way. (To use 'zero.scaled', you would
need a custom panel.3d.cloud argument which captures 'zero.scaled' and
replaces it, etc., which is not really what you should need to do.)

Unless you are using arrows=FALSE on the z-axis, you could easily fake
it by increasing the z-values (e.g., z-min(z)).

Longer term, I could add an 'origin' argument to panel.cloud, similar
to what panel.barchart supports. Would that suffice for you? You would
still need to pre-compute the origin, in this case the lower zlim.

-Deepayan