[R] Help scatterplot3d

John Kane jrkrideau at inbox.com
Sat Nov 7 01:18:39 CET 2015


Please do not post in HTML. Your post is gibberish.

Also please have a look at
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example and/or http://adv-r.had.co.nz/Reproducibility.html  for some suggestions on asking questions in R-help.
John Kane
Kingston ON Canada


> -----Original Message-----
> From: r-help at r-project.org
> Sent: Fri, 6 Nov 2015 14:20:22 +0000 (UTC)
> To: r-help at r-project.org
> Subject: [R] Help scatterplot3d
> 
> Hi, I'm running this script:
> library(scatterplot3d)datos<-read.csv("C:\\prueba.csv",sep=",",header=TRUE)str(datos)scatterplot3d(datos)
> s3d<- scatterplot3d(datos, type = "h", color = "blue", angle = 55,
> scale.y = 0.7, pch = 16, main = "title”)
> my.lm <- lm(datos$Bx ~ datos$e + datos$t) s3d$plane3d(my.lm)
>  I need to plot the experimental data ("datos") and the regression plane
> given by "my.lm" in the same figure.The script plots "datos" but it
> doesn't add the plot of the regression plane. Sometimes I get a message
> like "s3d objet not found".
> Thanks a lot.
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

____________________________________________________________
GET FREE 5GB EMAIL - Check out spam free email with many cool features!
Visit http://www.inbox.com/email to find out more!



More information about the R-help mailing list