switch_scenario: Generate survival data for analysis

Description Usage Arguments Value

View source: R/simulate-data.R

Description

Set up the coefficients for generating competing risks data. The coefficients correspond to the covariate vector with distribution (constant, binomial(.5), N(0,1), N(0,1))

Usage

1
switch_scenario(scenario, beta.cens = c(1, 0, 0, 0))

Arguments

scenario

Character constant determining the scenario

beta.cens

Coefficient vector for the association with the censoring distribution

Value

A list with components for each of the coefficient vectors/matrices


sachsmc/pseudoglm documentation built on Sept. 4, 2020, 9:10 a.m.