Learn R Programming

Morpho (version 2.1)

pcaplot3d: visualization of shape variation

Description

visualization of shape change

Usage

pcaplot3d(x, ...)

## S3 method for class 'symproc': pcaplot3d(x, pcshow = c(1, 2, 3), mag = 3, color = 4, lwd = 1, sym = TRUE, ...)

## S3 method for class 'nosymproc': pcaplot3d(x, pcshow = c(1, 2, 3), mag = 3, color = 4, lwd = 1, ...)

Arguments

x
a object derived from the function procSym calculated on 3D coordinates.
pcshow
a vector containing the PCscores to be visualized.
mag
a vector or an integer containing which standard deviation of which PC has to be visualized.
color
color of the 3d points/spheres.
lwd
width of the lines representing the shape change.
sym
logical: if TRUE the symmetric component of shape is displayed. Otherwise the asymmetric one.
...
Additional parameters which will be passed to the methods.

Value

  • returns an invisible array containing the shapes associated with the Principal components selected.

Details

visualization of the shape changes explained by Principal components

See Also

procSym

Examples

Run this code
data(nose)
#make a tiny sample
nosearr <- bindArr(longnose.lm, shortnose.lm, along=3)
proc <- procSym(nosearr)
pcaplot3d(proc,pcshow=1,mag=-3)#only one PC available

Run the code above in your browser using DataLab