mean_by_group: Mean by group

Description Usage Arguments Value

View source: R/descriptive_stats.R

Description

Mean by group

Usage

1
mean_by_group(df, x, grouping_var)

Arguments

df

a dataframe

x

a vector / variable to calculate the mean and SD for

grouping_var

a vector/variable to group by

Value

the mean and sd for each group of the specified variable


battenr/rwetasks documentation built on Jan. 21, 2022, 12:22 a.m.