A mlr3::TaskGenerator calling simsurv::simsurv()
from package simsurv.
This generator currently only exposes a small subset of the flexibility of simsurv,
and just creates a small data set with the following numerical covariates:
treatment
: Bernoulli distributed with log hazard ratio -0.5
.
height
: Normally distributed with log hazard ratio 1
.
weight
: normally distributed with log hazard ratio 0
.
See simsurv::simsurv()
for an explanation of the hyperparameters.