Provides backward compatibility for the old return structure. The previous
structure with
predictions, posterior, and data
elements is deprecated. Use the accessor methods instead:
predictions - use get_predictions(object)
posterior - use get_samples(object)
data - use object$observations
# S3 method for estimate_secondary
$(x, name)The requested element with a deprecation warning
An estimate_secondary object
The name of the element to extract