add_time: Simulate survival times

View source: R/add_time.R

add_timeR Documentation

Simulate survival times

Description

Simulate survival times

Usage

add_time(dt, eventObj, clinInt, clinExt, seed)

Arguments

dt

a list of matrix generated in simu_cov containing simulated covariates information

eventObj

an object of class .eventClass generated in set_event including event information

clinInt

an object of class .clinClass generated in set_clin including internal trial information

clinExt

an object of class .clinClass generated in set_clin including external trial information

seed

the seed of R‘s random number generator. Default is the first element of .Random.seed

Value

a list of matrix containing simulated time-to-events information


psborrow documentation built on May 17, 2022, 1:05 a.m.