extended version of summarise_each_q that allows alternative arrangement of outputs
1 2 | xsummarise_each_(tbl, funs, vars, .long = "funs", .wide = NA,
fun.var = ".fun", var.var = ".var")
|
tbl |
the date frame |
funs |
a list of functions, see the help of summarize_each, best use the helper function funs() to create them |
vars |
columns in tbl on which the functions should be applied |
.long |
either "funs" or "vars". Shall variables or functions be put in different rows? |
.wide |
currently ignored |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.