cond_sample: Generic function to call samplers

Description Usage Arguments

View source: R/generic_functions.R View source: R/cond_sample.R

Description

Generic function to call samplers

Usage

1

Arguments

u

numeric vector, 0 ≤q u ≤q 1 for all elements in u.

t0

Nonnegative real number. The time the survival function is conditioned on. t0 = 0 will return samples from the unconditional distribution

HR

hazard ratio between treatment arm and control arm

params

named list of parameters for distribution


kravitz-eli/simCondSurv documentation built on April 14, 2020, 6:02 a.m.