search for: df_stats

Displaying 1 result from an estimated 1 matches for "df_stats".

Did you mean: vf_stats
2018 Mar 25
0
R-devel Digest, Vol 181, Issue 22
...For anyone interested, I?m doing this to create a function that can compute (multiple, group-wise) summary statistics easily, and return them in a tidy data frame with one row for each group. Naming depends on whether ? arguments are named and on some optional arguments. Here is an example. args(df_stats) ## function (formula, data, ..., drop = TRUE, fargs = list(), sep = "_", ## format = c("wide", "long"), groups = NULL, long_names = TRUE, ## nice_names = FALSE, na.action = "na.warn") df_stats(Sepal.Length ~ Species, data = iris, mean, sd, R = range...