[R] 3-dimensional graph

Wayne.W.Jones at shell.com Wayne.W.Jones at shell.com
Mon Oct 1 09:21:19 CEST 2007


Hi there, you could try: 

library(scatterplot3d)

THese function are also quite handu for visualising 3d images in 2d by virtue of contours, heat maps etc..

?image
?persp
?contour

-----Original Message-----
From: r-help-bounces at r-project.org
[mailto:r-help-bounces at r-project.org]On Behalf Of John Sorkin
Sent: 01 October 2007 03:46
To: r-help at r-project.org
Subject: [R] 3-dimensional graph


Windows XP
R 2.3.1

I have a funciton
fit1<-lm(y~x+z)
Is there a function that will produce a 3-dimensional plot of y,x,z?

I looked at the help files, but did not find a clean answer to my question.

Thanks,
John

John Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing)

Confidentiality Statement:
This email message, including any attachments, is for the =\...{{dropped}}



More information about the R-help mailing list