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@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.

Reply via email to