clr | R Documentation |
A data transformation according to the centered logratio
transformation is done. default method is function
clr
from package compositions.
clr(x, ...)
## Default S3 method:
clr(x, ...)
## S3 method for class 'hyperSpec'
clr(x, ...)
x |
A numeric data frame or matrix. |
... |
further parameters to |
Returns the transformed data matrix with the same dimension as
x
.
clr
Other row-wise transformations:
alr()
,
apt()
,
cpt()
,
ilr()
,
ipt()
clr(Spectra2)
plot(Spectra2)
plot(clr(Spectra2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.