summarise(), summarise_all(), sumarise_at() from dplyr package in R provide convenient ways to get summary information by one or more variables.
You can pass a data frame to summarise() , or passed to the grouped variable first, then assign a function n() inside summarise to get how many observation for each category.
You can get statistical results like mean, standard deviation, for the specified column, by using summarise_at(), or for all columns of data frame by using summarise_all().
#rprogramming
#datascience
#rstudio
#summarise
#dplyr
#tidyverse
#rdatacode
Download
0 formats
No download links available.
R programming tutorial: Using summarise() function of dplyr to get summary information | NatokHD