3d - r lm-like line in scatterplot3d -


i want add of form "abline" 3d scatterplot in r.

here's code far:

plot3d <-     scatterplot3d(    table$unemployment,     table$foreigners,    table$overall.crime,     color="red",     pch=20,     type="p" ) 

i cannot find corresponding "abline" command. there such thing? or should use cloud-like function?

thank help

if use rgl instead, there demo using surfaces pruned down lines

library(rgl) demo("regression") 

Comments