Description Usage Arguments Details References See Also Examples
plot the fitted 3D data set and linear decision boundary.
1 2 3 |
x |
object of class |
fitdb |
logical. If |
initdb |
logical. If |
lims |
column matrix of the x, y, and z limits of the plot |
alpha |
alpha value for the decision bound surface(s) ranging from 0 (fully transparent) to 1 (opaque). Default is .5. |
... |
further arguments. |
This function produces a 3D scatter plot of data matrix in the x
and (optionally) decision boundary specified within (i.e., x$par
and/or x$initpar
), using points3d
and quads3d
in the rgl
package respectively.
Daniel Adler, Oleg Nenadic and Walter Zucchini (2003) RGL: A R-library for 3D visualization with OpenGL
1 2 3 4 5 6 7 | ## Not run:
data(subjdemo_3d)
fit.3dl <- glc(response ~ x + y + z, data=subjdemo_3d,
category=subjdemo_3d$category, zlimit=7)
plot3d(fit.3dl)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.