survival_table: survival_table

Description Usage Arguments

View source: R/survival_table.R

Description

internal function that evaluates survivals at each month if you have pre-calculated survival values you can pass them directly to reduce computation time.

Usage

1
2
3
4
5
6
7
8
survival_table(
  survnma,
  study,
  treatments = NULL,
  timesteps = seq(0, 30),
  survivals = NULL,
  print = FALSE
)

Arguments

survnma

survnma object to be passed

study

study of interest

treatments

a list of desired treatments to be compared

timesteps

Vector of evaluation times. Should be of length > 2

survivals

precalculated survivals (using prep_all_survivals) to reduce computation time

print

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


certara/survivalnma documentation built on Oct. 17, 2020, 12:34 a.m.