View source: R/computeVariancePartition.R
computeVariancePartition | R Documentation |
Variance partition including (or not) environment
computeVariancePartition(
traits,
environmental.variables = NULL,
dataset,
phylogeny,
model.specifications = NULL,
force.run = T,
save = T
)
traits |
(character) Name of the trait or list of traits. It must be contained in the dataset. |
environmental.variables |
(character) Names of the environmental variables They must be contained in dataset. |
dataset |
(data frame) Dataset containing the trait of interest and a column named "animal" describing terminal taxa of phylogeny. |
phylogeny |
(phylo) Phylogeny with tip labels contained in dataset$animal |
model.specifications |
(list) Mcmcglmm models specifications. See defineModelsSpecification. |
force.run |
(logical) If false, models already run are not runned again. |
save |
(logical) If false, resulta re not saved. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.