hazard_table: hazard_table

Description Usage Arguments

Description

internal function that generates hazard ratio table at each month if you have pre-calculated hazard values you can pass them directly to reduce computation time.

Usage

1
2
hazard_table(survnma, treatments = NULL, reference, timesteps = seq(0,
  30), hazards = NULL, print = FALSE)

Arguments

survnma

survnma object to be passed

treatments

a list of desired treatments to be compared

reference

string of treatment that acts as reference

timesteps

Vector of evaluation times. Should be of length > 2

hazards

precalculated hazards (using prep_all_hazards) to reduce computation time

print

Boolean, if true prints results in console, if false stores dataframe


certara/survivalnma documentation built on June 5, 2019, 11:02 a.m.