View source: R/transform_coda.R
Transform compositional data in a given data frame and replace it.
1 2  | 
data | 
 Data frame containing compositional data.  | 
coda_variables | 
 Numeric/Character, vector containing the names/indexes of the compositional variables.  | 
method | 
 Character, the log-ratio transformation to be applied. "ALR" -> additive log-ratio, "CLR" -> centered log-ratio, "ILR" -> isometric log-ratio. Additionally, accepts "log" for applying logarithmic transformation and "std" for standardization (scaled and centred).  | 
alr_base | 
 Character/Numeric, the name/index of the variable to be used as divisor in additional log-ratio transformation. in additive log-ratio transformation.  | 
raw_filename, trans_filename, final_filename | 
 Character, file names for saving the raw (complete), tranformed (only coda), and final (complete) data sets.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.