powered by
visualization of shape change
pcaplot3d(x, ...)# S3 method for symproc pcaplot3d( x, pcshow = c(1, 2, 3), mag = 3, color = 4, lwd = 1, sym = TRUE, legend = TRUE, type = c("spheres", "points"), ... )# S3 method for nosymproc pcaplot3d( x, pcshow = c(1, 2, 3), mag = 3, color = 4, lwd = 1, legend = TRUE, type = c("spheres", "points"), ... )
# S3 method for symproc pcaplot3d( x, pcshow = c(1, 2, 3), mag = 3, color = 4, lwd = 1, sym = TRUE, legend = TRUE, type = c("spheres", "points"), ... )
# S3 method for nosymproc pcaplot3d( x, pcshow = c(1, 2, 3), mag = 3, color = 4, lwd = 1, legend = TRUE, type = c("spheres", "points"), ... )
returns an invisible array containing the shapes associated with the Principal components selected.
a object derived from the function procSym calculated on 3D coordinates.
Additional parameters which will be passed to the methods.
a vector containing the PCscores to be visualized.
a vector or an integer containing which standard deviation of which PC has to be visualized.
color of the 3d points/spheres.
width of the lines representing the shape change.
logical: if TRUE the symmetric component of shape is displayed. Otherwise the asymmetric one.
logical: if TRUE a legend explaining the color coding of the PCs is plotted.
character: for type="spheres", the landmarks will be rendered using rgl's spheres3d function and for type="points" by points3d respectivly.
type="spheres"
spheres3d
type="points"
points3d
visualization of the shape changes explained by Principal components
procSym
if (FALSE) { data(boneData) proc <- procSym(boneLM) pcaplot3d(proc,pcshow=1:3,mag=-3)#only one PC available }
Run the code above in your browser using DataLab