Provides backward compatibility for the old return structure. The previous
structure with
estimates, estimated_reported_cases,
summary, plots, and estimate_infections elements is
deprecated. Use the standard S3 methods
instead:
estimates$samples - use get_samples(object)
estimates$summarised - use summary(object,
type = "parameters")
estimated_reported_cases - use
estimates_by_report_date(object)
summary - use summary(object)
plots - use plot(object)
estimate_infections - use the object directly (it now
inherits from estimate_infections)
# S3 method for epinow
$(x, name)The requested element with a deprecation warning for deprecated elements
An epinow object
The name of the element to extract