Learn R Programming

phytools (version 1.0-3)

lambda.transform: \(\lambda\) transformation of matrix

Description

Function multiplies the off-diagonals of a square matrix by \(\lambda\). Used internally in phyl.pca and other functions.

Usage

lambda.transform(lambda, C)

Value

An among-species phylogenetic variance covariance matrix (e.g., vcv.phylo) in which the off-diagonal elements have been multiplied by \(\lambda\).

Arguments

lambda

scalar, usually (but not necessarily) on the interval 0,1.

C

matrix probably returned by vcv.phylo.

Author

Liam Revell liam.revell@umb.edu

References

Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.