computeVariancePartition: Variance partition including (or not) environment

View source: R/computeVariancePartition.R

computeVariancePartitionR Documentation

Variance partition including (or not) environment

Description

Variance partition including (or not) environment

Usage

computeVariancePartition(
  traits,
  environmental.variables = NULL,
  dataset,
  phylogeny,
  model.specifications = NULL,
  force.run = T,
  save = T
)

Arguments

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.


pablosanchezmart/TrEvol documentation built on April 23, 2024, 4:05 p.m.