Skip to contents

Print methods for predict_and_plot()

Usage

# S3 method for predict_and_plot
print(x, ...)

Arguments

x

An object of class predict_and_plot

...

Additional arguments

Value

A print summary of the predict_and_plot object.

Examples

models <- fit_models(
  data = easysurv::easy_bc,
  time = "recyrs",
  event = "censrec",
  predict_by = "group"
)

predict_and_plot(models)
#>  Survival plots have been printed.
#>  Hazard plots have been printed.