Calculates the mean of all numeric variables in a data frame.
Usage
summarize_data(data)
summarize_data(data)
Arguments
- data
A data frame.
- df
A data.frame
- value_col
Name of the numeric column to summarise (default tries "finalEstimate")
- group_col
Name of the grouping column (default tries "cleanName")
Value
A tibble of column means.
Examples
summarize_data(mtcars)
#> mpg cyl disp hp drat wt qsec vs am
#> 1 20.09062 6.1875 230.7219 146.6875 3.596563 3.21725 17.84875 0.4375 0.40625
#> gear carb
#> 1 3.6875 2.8125