simsomdata: Simulate some datasets

Description Usage Arguments

View source: R/simsomdata.R

Description

This function simulates some survival data with a cure proportion.

Usage

1
simsomdata(i = 1, n, ng, coeffic, REvcov)

Arguments

i

Seed value, integer (used for reproducible simulations and multi-dataset simulation).

n

Sample size n, integer.

ng

Number of higher-level units (groups), integer.

REvcov

A list of size 3, containing the covariance-matrix elements (varcure, frailty and correlation parameter).

coeff

A list of size 2, containing a vector of parameter values each, respectively of the indicence and the latency model.


HansTierens/MMixCure documentation built on Dec. 31, 2020, 12:59 p.m.