Likely you mean to be using favstats. Each
of these computes the mean, standard deviation,
quartiles, sample size and number of missing values for a
numeric vector, but favstats can take a
formula describing how these summary statistics should be
aggregated across various subsets of the data.
Usage
fav_stats(x, ..., na.rm = TRUE)
Arguments
x
numeric vector
na.rm
boolean indicating whether missing data
should be ignored