tvtable: Create tables for tvcure and related models

Description Usage Arguments

View source: R/tvtable.R

Description

Returns a table stored as a matrix that can be passed to xtable. Currently only supports models with variance estimates

Usage

1
2
3
4
5
6
7
8
tvtable(
  ...,
  qi = c("se", "zscore", "pvalue"),
  varlist = NULL,
  digits = 3,
  stars = T,
  siglevel = NULL
)

Arguments

...

One or more models to include in the table. Models may be of class tvcure, coxph, coxphf, or glm.

qi

The quantity of interest to be presented below the coefficients. Can be one of "se" for standard errors, "zscore", or "pvalue".

varlist

An optional named list containing variable names for each variable. Variables will be presented in the order of the list.

digits

The number of digits to which quantities are rounded

stars

Logical value indicating whether to include significance stars. By default, * p < 0.1, ** p < 0.05, *** p < 0.01.

siglevel

If stars = T, specifies significance levels and their associated symbols. See msummary for details


gwilliford/tvcure documentation built on Dec. 20, 2021, 1:51 p.m.