### 生存模型<https://censored.tidymodels.org/articles/examples.html>`type = "time" type = "survival" type = "linear_pred" type = "quantile" type = "hazard"````{r}library(tidymodels)library(censored)parametric_spec <-survival_reg()parametric_workflow <-workflow() %>%add_variables(outcome =c(fustat, futime), predictors =c(age, rx)) %>%add_model(parametric_spec, formula =Surv(futime, fustat) ~ age +strata(rx))parametric_fit <-fit(parametric_workflow, data = ovarian)parametric_fit```