Add lines to a 3D scatterplot
lines3d(s, from, to, lwd = 1, alpha = 1, color)A scatterplot object returned by scatterplot3js.
A vector of integer indices of starting points.
A vector of integer indices of ending points of the same length as from.
A single numeric value of line width (applies to all lines).
A single numeric value of line alpha (applies to all lines).
Either a single color value or vector of values as long as from of line colors;
line colors default to interpolating their vertex point colors.
A new scatterplot htmlwidget object.
This function replaces the old points3d approach used by scatterplot3d.