
Generate PFS and OS using the three-states model
Source:R/CorrelatedPfsAndOs3.R
CorrelatedPfsAndOs3.Rd
Generate PFS and OS using the three-states model
Arguments
- n
integer. Number of observations.
- h01
constant transition hazard from state "stable" to state "progression".
- h02
constant transition hazard from state "stable" to state "death".
- h12
constant transition hazard from state "progression" to state "death".
- pfs_name
column name of PFS in returned data frame. It must be consistent with `name` in the function `endpoint()`.
- os_name
column name of OS in returned data frame. It must be consistent with `name` in the function `endpoint()`.