mat_cross_helper | R Documentation |
Crossing with helpers
mat_cross_helper(df, args, wide = TRUE, remove_NA = TRUE, replace_all = "all")
df |
data |
args |
a list, names, with values. Special are .each, and .all |
wide |
to wide? |
remove_NA |
Are NAs in unequal data lenghts to be removed? |
replace_all |
Value for the .all column |
mat_cross_helper(df=warpbreaks, args =list(wool=c("A"),
tension = c("L", "H")), wide=FALSE)
mat_cross_helper(warpbreaks, list(wool=c("A"),
tension = c(".each", ".all")), wide=FALSE)
mat_cross_helper(df=warpbreaks, args = list(wool=c("A"),
tension = c(".each", ".all")),
wide=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.