Description Usage Arguments Value
View source: R/get_variables.R
Get indexes of the compositional and petrographic variables indicative
of provenance. Petrographic variables must use the cerUB naming system.
Compositional variables must have been transformed using
transform_coda
.
1 | get_provenance(data, coda_variables, transformation_method = "")
|
data |
Data frame containing petrographic variables that use the cerUB naming system. |
coda_variables |
Character/Numeric, vector with the names/indexes of the compositional variables. |
transformation_method |
Character, vector specifying a transformation: "ALR" -> additive log-ratio, "CLR" -> centered log-ratio, "ILR" -> isometric log-ratio. Additionally, accepts "log" for applying logarithmic transformation. |
List of two numeric vectors containing the column indexes of (1) petrographic and (2) compositional variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.