Description Usage Arguments Value Author(s)
This function performs a Principal Component Analysis from quantum catches measured on different patches on the plumage. Each bird is represented by several patches, so several points.
1 | pca_perpatch(inpath, varNames = c("VS.v", "S.v", "M.v", "L.v"))
|
inpath |
A string. The path to the folder where to find the input data file. Note: the input data file is named "specs.csv". |
varNames |
A vector of strings. The names of the dependent variables in the input data frame. |
A list of two elements. The first is the output of prcomp
performed on the dependent variables, where each bird has coordinates. The second element a table with metadata identifying each observation in the PCA.
Raphael Scherrer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.