alr_trans | R Documentation |
This peforms additive log-ratio transformation.
alr_trans(data, comp_labels, comparison_part = NULL)
data |
Compositional columns of dataframe |
comp_labels |
The labels of the compositional columns. |
comparison_part |
Name of part that all other parts will be compared to. |
data
with alr-transformed compositional columns.
alr_trans(data = simdata[,c("vigorous", "moderate", "light", "sedentary", "sleep")], comp_labels = c("vigorous", "moderate", "light", "sedentary", "sleep"), comparison_part = "sleep")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.