Skip to contents

Calls survival::survfit from package survival.

Dictionary

This Learner can be instantiated via the dictionary mlr_learners or with the associated sugar function lrn():

mlr_learners$get("surv.nelson")
lrn("surv.nelson")

Meta Information

  • Task type: “surv”

  • Predict Types: “crank”, “distr”

  • Feature Types: “logical”, “integer”, “numeric”, “character”, “factor”, “ordered”

  • Required Packages: mlr3extralearners, survival, pracma

Parameters

Empty ParamSet

References

Nelson W (1969). Hazard Plotting for Incomplete Failure Data. Journal of Quality Technology, 1(1), 27–52. doi: 10.1080/00224065.1969.11980344.

Nelson, W. (1972). Theory and Applications of Hazard Plotting for Censored Failure Data. Technometrics, 14(4), 945–966.

Aalen, O. (1978). Nonparametric Inference for a Family of Counting Processes. The Annals of Statistics, 6(4), 701–726.

See also

Author

RaphaelS1

Super classes

mlr3::Learner -> mlr3proba::LearnerSurv -> LearnerSurvNelson

Methods

Inherited methods


Method new()

Creates a new instance of this R6 class.

Usage


Method clone()

The objects of this class are cloneable with this method.

Usage

LearnerSurvNelson$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

if (requireNamespace("survival", quietly = TRUE) && requireNamespace("pracma", quietly = TRUE)) {
  learner = mlr3::lrn("surv.nelson")
  print(learner)

  # available parameters:
  learner$param_set$ids()
}
#> <LearnerSurvNelson:surv.nelson>
#> * Model: -
#> * Parameters: list()
#> * Packages: mlr3, mlr3extralearners, survival, pracma
#> * Predict Type: crank
#> * Feature types: logical, integer, numeric, character, factor, ordered
#> * Properties: missings
#> character(0)