Description Format Construction See Also Examples
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.
R6::R6Class inheriting from mlr3::TaskGenerator.
1 2 3 | TaskGeneratorSimsurv$new()
mlr_task_generators$get("simsurv")
tgen("simsurv")
|
Dictionary of TaskGenerators: mlr3::mlr_task_generators
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.