vcv2: Create phylogenetic var-cov matrix

Description Usage Arguments Value

View source: R/utils.R

Description

This function will convert a phylogeny to a Var-cov matrix.

Usage

1
vcv2(phy, corr = FALSE)

Arguments

phy

A phylogeny with "phylo" as class.

corr

Whether to return a correlation matrix instead of Var-cov matrix. Default is FALSE.

Value

A phylogenetic var-cov matrix.


phyr documentation built on Jan. 13, 2021, 5:40 p.m.