puvsum: Print univariate summary LaTeX table

Description Usage Arguments

Description

Returns a LaTeX table of the univariate summary

Usage

1
2
  puvsum(response, covs, data, type = NULL, strata = 1,
    TeX = F)

Arguments

response

string vector with name of response

covs

character vector with the names of columns to fit univariate models to

data

dataframe containing data

type

string indicating he type of univariate model to fit. The function will try and guess what type you want based on your response. If you want to override this you can manually specify the type. Options in clude "linear", "logistic", "coxph", "crr", "boxcox","logistic"

strata

character vector of covariates to stratify by. Only used for coxph and crr

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


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

Related to puvsum in reportRx...