Function which summarizes dichotomous or binary variable by a named group
t1_normvar(data, .var, .group, quietly = T)
data | Dataframe |
---|---|
.var | Variable to be summarized |
.group | Group to summarize over |
quietly | If FALSE, function will report some internal steps |
List of length = groups
Supply a dataframe, a variable to summarize, a group variable