Learn R Programming

PIGShift (version 1.0.1)

normalize.vcv: Compute the variance-covariance matrix of normalized phylogenetic data

Description

This function takes a variance-covariance matrix corresponding to some model of trait evolution along a phylogeny and returns the modified variance-covariance matrix that results from normalizing the data by the trait value in one of the species

Usage

normalize.vcv(vcv, which.norm = 1)

Arguments

vcv
origin variance-covariance matrix
which.norm
the species by which the data are normalized

Value

a matrix with nrow = ncol = ncol(vcv).