RE: [R] "cloud" function doesn't plot

About this list Date view Thread view Subject view Author view Attachment view

From: Simon Blomberg (Simon.Blomberg@anu.edu.au)
Date: Mon 23 Jun 2003 - 16:26:39 EST


Message-id: <7A3A13F416B40842BD2C1753E044B359B0991D@CASEVS02.cas.anu.edu.au>

Actually, there IS a search facility, although you have to look for it. A search on "cloud" returned 5 pages. If you type
?cloud, you can see that you need to provide a formula as well as a dataset. So if your variables are x,y,z in dataframe dat, then cloud(z~x*y, data=dat) should work.

Cheers,

Simon.

Simon Blomberg, PhD
Depression & Anxiety Consumer Research Unit
Centre for Mental Health Research
Australian National University
http://www.anu.edu.au/cmhr/
Simon.Blomberg@anu.edu.au +61 (2) 6125 3379

> -----Original Message-----
> From: Tony Ross [mailto:ynotssor@hotmail.com]
> Sent: Monday, 23 June 2003 4:09 PM
> To: r-help@stat.math.ethz.ch
> Subject: [R] "cloud" function doesn't plot
>
>
> Forgive me please if this has been answered previously, but
> the r-help
> archive doesn't have a "search" capability. It's a pity, as
> I'm sure that
> there's a wealth of informative help in there.
>
> I am unable to get the "cloud" function to produce a fundamental 3D
> scatterplot. I have a 3-column numeric matrix:
>
> >is.matrix(sanity.MIF); is.numeric(sanity.MIF); dim(sanity.MIF);
> >cloud(sanity.MIF)
> [1] TRUE
> [1] TRUE
> [1] 2970 3
> >
>
> A blank grey graphics window is opened, but no vestige of a
> plot or labels
> of any kind.
>
> Can someone tell me what I am missing please? R 1.7.1
> Windows2000 is new to
> me, but plenty of prior S-Plus Unix experience, including the
> use of the
> "spin" function for rotational 3D scatterplots.
>
> Thank You for your help.
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:12:05 EST