covsum: Get covariate summary dataframe

Description Usage Arguments

Description

Returns a dataframe corresponding to a descriptive table

Usage

1
2
  covsum(data, covs, maincov = NULL, numobs = NULL,
    markup = T, sanitize = T, nicenames = T)

Arguments

data

dataframe containing data

covs

character vector with the names of columns to include in table

maincov

covariate to stratify table by

numobs

named list overriding the number of people you expect to have the covariate

markup

boolean indicating if you want latex markup

sanitize

boolean indicating if you want to sanitize all strings to not break LaTeX

nicenames

booling indicating if you want to replace . and _ in strings with a space


reportRx documentation built on May 2, 2019, 10:44 a.m.

Related to covsum in reportRx...