Description Usage Arguments Value Author(s)
View source: R/pca_wholebird.R
This function performs a Principal Component Analysis from many dependent variables representing the color of the birds measured from different patches on the plumage.
1 | pca_wholebird(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.