t1_binvar: t1_binvar: "Table One", Binary Variable Summary

Description Usage Arguments Details Value Author(s)

View source: R/t1_binvar.R

Description

Function which summarizes dichotomous or binary variable by a named group

Usage

1
t1_binvar(data, .var, .group, .referent = "1", quietly = T)

Arguments

.var

Variable to be summarized

.group

Group to summarize over

.referent

If variable logical or numeric, default reported is 1/"T", otherwise specify here.

quietly

If FALSE, function will report some internal steps

df

Dataframe

Details

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

Value

List of length = groups

Author(s)

Kevin W. McConeghy


kmcconeghy/Scotty documentation built on Aug. 26, 2020, 11:45 p.m.