r descr_models("surv_reg", "survival")

Tuning Parameters

defaults <- 
  tibble::tibble(parsnip = c("dist"),
                 default = c("'weibull'"))

param <-
  surv_reg() %>%
  set_engine("flexsurv") %>%
  set_mode("regression") %>%
  make_parameter_list(defaults)

This model has r nrow(param) tuning parameters:

param$item

Translation from parsnip to the original package

surv_reg(dist = character(1)) %>% 
  set_engine("flexsurv") %>% 
  set_mode("regression") %>% 
  translate()

Other details

The main interface for this model uses the formula method since the model specification typically involved the use of [survival::Surv()].

For this engine, stratification cannot be specified via [strata()], please see [flexsurv::flexsurvreg()] for alternative specifications.

Saving fitted model objects


References



Try the parsnip package in your browser

Any scripts or data that you put into this service are public.

parsnip documentation built on Aug. 18, 2023, 1:07 a.m.