Displaying 1 result from an estimated 1 matches for "plain3d".
Did you mean:
plain
2008 Jul 24
1
Problem with scatterplot3d example
...the regression plane:
> library(scatterplot3d)
> data(trees)
> s3d <- scatterplot3d(trees, type = "h", color = "blue",
+ angle = 55, scale.y = 0.7, pch = 16, main = "Adding elements")
> my.lm <- lm(trees$Volume ~ trees$Girth + trees$Height)
> s3d$plain3d(my.lm)
Error: attempt to apply non-function
> s3d$points3d(seq(10, 20, 2), seq(85, 60, -5), seq(60, 10, -10),
+ col = "red", type = "h", pch = 8)
Any ideas on what I need to change in order to get the plane to plot?
Tom
--
View this message in context: http://www.nabb...