View source: R/normalization.R
alr | R Documentation |
Additive log-ratio functions
alr(x.f, ...)
## Default S3 method:
alr(
x.f,
divcomp = 1,
base = exp(1),
removeDivComp = TRUE,
tol = .Machine$double.eps,
...
)
## S3 method for class 'matrix'
alr(
x.f,
mar = 2,
divcomp = 1,
base = exp(1),
removeDivComp = TRUE,
tol = .Machine$double.eps,
...
)
## S3 method for class 'data.frame'
alr(x.f, mar = 2, ...)
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) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.