SpiecEasi (version 1.0.2)

alr: Additive log-ratio functions

Description

Additive log-ratio functions

Usage

alr(x.f, ...)

# S3 method for default alr(x.f, divcomp = 1, base = exp(1), removeDivComp = TRUE, tol = .Machine$double.eps, ...)

# S3 method for matrix alr(x.f, mar = 2, divcomp = 1, base = exp(1), removeDivComp = TRUE, tol = .Machine$double.eps, ...)

# S3 method for data.frame alr(x.f, mar = 2, ...)

Arguments

x.f

input data

...

pass through arguments

divcomp

the index of the component to use as the divisor

base

base for log transformation

removeDivComp

remove the divisor component from the alr result

tol

tolerance for a numerical zero

mar

margin to apply the transformation (rows: 1 or cols: 2)