segments in 3d space
Adrian Dusa wrote:
Hi all, Is it possible to draw line segments in a 3d space plot? I'm interested to draw the errors from an observed value to the regression plane, for a textbook example in an Intro Stats handbook for multiple regression. I used the scatterplot3d package to draw the regression plane.
An example on how to draw segments for residuals on a regression plane with scatterplot3d is shown in Section 4.2.2 (pp. 20-22) of Ligges, U. and M?chler, M. (2002): Scatterplot3d - an R Package for Visualizing Multivariate Data. Technical Report 22/2002. SFB 475, Department of Statistics, University of Dortmund, Germany. http://www.statistik.uni-dortmund.de/sfb475/berichte/tr22-02.pdf Uwe Ligges
Many thanks, Adrian ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Adrian Dusa (adi at roda.ro) Romanian Social Data Archive (www.roda.ro) 1, Schitu Magureanu Bd. 76625 Bucharest sector 5 Romania Tel./Fax: +40 (21) 312.66.18\ +40 (21) 312.02.10/ int.101 [[alternative HTML version deleted]]
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html