Additive log-ratio functions
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, ...)
input data
pass through arguments
the index of the component to use as the divisor
base for log transformation
remove the divisor component from the alr result
tolerance for a numerical zero
margin to apply the transformation (rows: 1 or cols: 2)