anansiTranslate | R Documentation |
helper function for the spinToLong and spinToWide
functions.
anansiTranslate(
x,
Y_translation = Y_translation,
X_translation = X_translation,
argonansi = FALSE
)
x |
a table with a feature_Y and feature_X column. |
Y_translation |
data.frame, a lookup table with featureY names as the first column and human readable names as the second. See |
X_translation |
data.frame, a lookup table with featureX names as the first column and human readable names as the second. See |
argonansi |
A boolean. Toggles whether we are dealing with stratified data. |
an expanded table with a column for the human readable names for the features in both tableY and tableX.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.