Obtain PC-scores for new landmark data
Obtain PC-scores for new landmark data
getPCscores(x, PC, mshape)
x |
landmarks aligned (e.g. using |
PC |
Principal components (eigenvectors of the covariance matrix) |
mshape |
matrix containing the meanshape's landmarks (used to center the data) |
returns a matrix containing the PC scores
data(boneData) proc <- procSym(boneLM[,,-c(1:2)]) newdata <- boneLM[,,c(1:2)] newdataAlign <- align2procSym(proc,newdata) scores <- getPCscores(newdataAlign,proc$PCs,proc$mshape)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.