Description Usage Arguments Value Examples
View source: R/SimulateMultiCure.R
This function will create a simulated dataset under a multistate cure model.
1 | SimulateMultiCure(type = "NoMissingness")
|
type |
Indicates whether we should simulate data with missingness only in cure status, missingness in cure status and covariates, or missingness in cure status and unequal censoring. Possible values include "No Missingness", "CovariateMissingness" and "UnequalCensoring". |
OUT This is a data frame containing
Y_R: Event/Censoring Time for Recurrence
delta_R: Event/Censoring Indicator for Recurrence
Y_D: Event/Censoring Time for Death
delta_D: Event/Censoring Indicator for Death
G: Non-Cure Status
X1: First Covariate
X2: Second Covariate
1 | SIMS = SimulateMultiCure(type = "NoMissingness")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.