Learn R Programming

BMhyb (version 1.5.2)

IsPositiveDefinite: Check to make sure a variance covariance network (from a tree or network) is positive definite

Description

Return TRUE if it is positive definite, FALSE otherwise

Usage

IsPositiveDefinite(V.modified)

Arguments

V.modified

a matrix

Value

a TRUE/FALSE value.

Details

Calculates the eigen values from a matrix, sees if the minimum is greater than zero

References

Jhwueng D.C. and O'Meara B.C. 2016. Studying trait evolution on phylogenetic networks. Submitted.