tests/testthat/_snaps/survival_reg-survival.md

survival probability prediction

Code
  predict(res, head(lung), type = "survival")
Condition
  Error in `predict()`:
  ! When using `type` values of "survival" or "hazard" a numeric vector `eval_time` should also be given.

survival hazard prediction

Code
  predict(res, head(lung), type = "hazard")
Condition
  Error in `predict()`:
  ! When using `type` values of "survival" or "hazard" a numeric vector `eval_time` should also be given.


EmilHvitfeldt/survnip documentation built on June 11, 2025, 6:23 p.m.