Plots annual survival estimates as trend line with credible limits.

bb_plot_year_trend_survival(x, ...)

# S3 method for class 'data.frame'
bb_plot_year_trend_survival(x, ...)

# S3 method for class 'bboufit_survival'
bb_plot_year_trend_survival(x, conf_level = 0.95, estimate = median, ...)

Arguments

x

The object.

...

Unused parameters.

conf_level

A number between 0 and 1 of the confidence level.

estimate

A function to calculate the estimate.

Methods (by class)

  • bb_plot_year_trend_survival(data.frame): Plot annual survival estimate as trend line for a data frame.

  • bb_plot_year_trend_survival(bboufit_survival): Plot annual estimates as trend line for a bboufit_survival object.