spinToLong | R Documentation |
Take anansi output and wrangle it all to a long data.frame format.
spinToLong(
anansi_output,
prune = TRUE,
translate = FALSE,
Y_translation = NULL,
X_translation = NULL
)
anansi_output |
an |
prune |
Boolean, default is TRUE. Toggles whether to take out the non-canonical associations. |
translate |
Boolean, default is FALSE Toggles whether to translate the names of the features in tableX and tableY to human readable names. |
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 |
a long format data.frame intended to be compatible with ggplot2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.