Description Usage Arguments Value Examples
View source: R/data_wrangling.R
Summarises a dataset
using tidyr::gather()
and dplyr::summarise()
.
1 |
data |
dataset |
return a tbl_df with one var per row and one column for mean, sd, max, min (all with missings removed), the number of missings, the number of nonmissing values, and the number of distinct values
1 2 3 4 | data(beavers)
summarise_all_vars(beaver1)
beaver1 = dplyr::group_by(beaver1, activ)
summarise_all_vars(beaver1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.