clr_trans | R Documentation |
This performs centred log-ratio transformation on the compositional columns of a data frame.
clr_trans(data)
data |
Compositional columns of dataframe. |
data
with clr-transformed compositional columns.
clr_trans(data = simdata[, c("vigorous", "moderate", "light", "sedentary", "sleep")])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.