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 so...{{dropped}}
There are many. Check out the 'rgl' package to see an interactive version of 3D plots. On 9/30/07, John Sorkin <jsorkin at grecc.umaryland.edu> wrote:> 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 so...{{dropped}} > > ______________________________________________ > R-help at 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. >-- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem you are trying to solve?
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}}
John Sorkin wrote:> > 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 questio >Check out ?scatter3d in the Rcmdr package. Ben Bolker -- View this message in context: http://www.nabble.com/3-dimensional-graph-tf4545981.html#a12978714 Sent from the R help mailing list archive at Nabble.com.
Maybe Matching Threads
- Solving a simple linear equation using uniroot give error object 'x' not found
- sample size for linear regression
- icon for an R package
- Solving a simple linear equation using uniroot give error object 'x' not found
- setting up LMER for repeated measures and how do I get a p value for my fixed effect, group?