summarize_mean: Summary of mean by variable

Description Usage Arguments Value Examples

Description

reports mean value for all numeric and logical variables in a data frame

Usage

1

Arguments

df

a tibble

group

(optional) single grouping variable. If used, mean by group will be spread across columns.

round

(optional) specify number of digits to round means to. Default is no rounding.

na.rm

(optional) a logical value indicating whether NA values should be stripped before the computation proceeds. Unlike base, here I default to TRUE

Value

a tibble with one row per variable in original datset, values are mean

Examples

1
2
3
4

williamlief/liefTools documentation built on Jan. 1, 2020, 6:48 p.m.