getCovFractions: Calculate the lower diagonal of a sp covariance matrix

View source: R/vario.R

getCovFractionsR Documentation

Calculate the lower diagonal of a sp covariance matrix

Description

Calculate the lower diagonal of a sp covariance matrix

Usage

getCovFractions(x)

Arguments

x

is a sitexsp matrix (sp as columns) of real numbers rows are the sites, columns are the species

Value

positive and negative fractions of covariance as two lower triangular matrices, each in vector format

Examples

x = matrix(runif(100), 10, 10)
getCovFractions(x)

mcglinnlab/vario documentation built on Feb. 22, 2023, 1:49 p.m.