0

I want to add something of the form "abline" to a 3d Scatterplot in R.

Here's my code so far:

plot3d <-     scatterplot3d(    Table$Unemployment,     Table$Foreigners,   
Table$Overall.crime,     color="red",     pch=20,     type="p" )

I cannot find the corresponding "abline" command. Is there even such a thing? Or should I use a cloud-like function?

Thank you for your help

4

1 回答 1

1

如果你可以rgl改用,有一个使用表面的演示,可以很容易地修剪成线条

library(rgl)
demo("regression")
于 2013-05-06T06:56:56.827 回答