simulate_data: Simulate a dataset and run the analyses

Description Usage Arguments

View source: R/simulate-data.R

Description

Wrapper for the used scenarios

Usage

1
2
3
4
5
6
7
8
simulate_data(
  n,
  scenario = "0",
  beta.cens = c(0, 0, 0),
  cens.rate = 0.2,
  link = "identity",
  gamma.cens = 3
)

Arguments

n

Sample size

scenario

Character identifying the scenario

beta.cens

Coefficients for the censoring distribution

link

Link function

gamma.cens

Shape parameter of weibull for censoring


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