Function which summarizes dichotomous or binary variable by a named group

t1_normvar(data, .var, .group, quietly = T)

Arguments

data

Dataframe

.var

Variable to be summarized

.group

Group to summarize over

quietly

If FALSE, function will report some internal steps

Value

List of length = groups

Details

Supply a dataframe, a variable to summarize, a group variable

Examples