rm_uvsum: Output several univariate models nicely. The default output...

Description Usage Arguments

View source: R/main.R

Description

Output several univariate models nicely. The default output is a kable table for use in pdfs or html, but pander tables can be produced for Word documents by specifying options('doc_type'='doc') in the setup chunk of the markdown document.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
rm_uvsum(
  response,
  covs,
  data,
  adj_cov = NULL,
  caption = NULL,
  showP = T,
  showN = T,
  tableOnly = FALSE,
  removeInf = T,
  HolmGlobalp = FALSE,
  chunk_label,
  ...
)

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

adj_cov

character vector containing covariates to adjust for in each (no longer univariate) model

caption

table caption

showP

boolean indicating if p-values should be shown (may only want to show holm-corrected values)

showN

boolean indicating if sample sizes should be shown

tableOnly

boolean indicating if unformatted table should be returned

removeInf

boolean indicating if infinite estimates should be removed from the table

HolmGlobalp

boolean indicting if a Holm-corrected p-value should be presented

chunk_label

only used if options("doc_type"='doc') is set allow cross-referencing

...

other variables passed to uvsum and the table output functions


Avery-Lisa/myReportRx documentation built on May 23, 2021, 2:30 a.m.