Rdocumentation
powered by
Learn R Programming
reportRx (version 1.0)
pcovsum: Print covariate summary Latex
Description
Returns a dataframe corresponding to a descriptive table
Usage
pcovsum(data, covs, maincov = NULL, numobs = NULL, TeX = F)
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
TeX
boolean indicating if you want to be able to view extra long tables in the LaTeX pdf. If TeX is T then the table will not convert properly to docx