Description Usage Arguments Value Author(s)
View source: R/project_individuals.R
This projects individual specimens into the PC space defined by species-averages.
1 2 | project_individuals(inpath, pca, varNames = c("VS.v", "S.v", "M.v",
"L.v"), wholeBird = T)
|
inpath |
A string. The path to the folder where to find the input data file. Note: the input data file is named "specs_indiv.csv". |
pca |
A |
varNames |
A vector of strings. The names of the dependent variables in the input data frame. |
wholeBird |
Whether the current analysis is per species (T) or per patch (F). If TRUE, the individual data are rearranged by patch prior to PCA, otherwise not. |
A data frame of principal component coordinates and metadata.
Raphael Scherrer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.