Add a confidence interval to an existing object
Usage
add_confint(object, coverage = 0.95, ...)
# S3 method for class 'smooth_estimates'
add_confint(object, coverage = 0.95, ...)
# S3 method for class 'parametric_effects'
add_confint(object, coverage = 0.95, ...)
# Default S3 method
add_confint(object, coverage = 0.95, ...)Details
For smooth estimates, this function computes Gaussian pointwise
intervals from the saved estimates and standard errors. It replaces any
existing limits and updates their interval metadata. To retain stored
bootstrap, shape-enforced or simultaneous limits, draw the estimates directly with
draw() without calling add_confint().
