vector of identifiers for individuals in the training set
Test
vector of identifiers for individuals in the test set
P
$n \times k$ matrix of the first PCs of the predictor variables. The matrix needs to have union of the identifiers of the candidate and test individuals as rownames.