PCAplot3d {MAIT} | R Documentation |
This function takes three sets of coordinates and builds a 3D scoreplot using the package rgl
PCAplot3d (z, x, y, cols, axes=TRUE, new=TRUE)
z |
A numerical vector containing the values for the z-axis. |
y |
A numerical vector containing the values for the y-axis. |
x |
A numerical vector containing the values for the x-axis. |
axes |
Boolean parameter. Set to TRUE if axes should be plotted. |
new |
Boolean parameter. Set to TRUE if a new rgl plot should be created. |
cols |
Character vector containing the colors for each sample. |
A 3D interactive plot is created using the package rgl
Francesc Fernandez, francesc.fernandez.albert@upc.edu