Learn R Programming

countprop (version 1.1.1)

convertSigma: Convert between CLR and ALR covariance matrices

Description

Convert between CLR and ALR covariance matrices

Usage

convertSigma(S, direction = c("alr2clr", "clr2alr"))

Value

A covariance matrix on the requested scale.

Arguments

S

Covariance matrix to be converted

direction

Which direction to convert between alr and clr.

Examples

Run this code
convertSigma(diag(3), "alr2clr")

Run the code above in your browser using DataLab