Skip to contents

Add a confidence interval to an existing object

Usage

add_confint(object, coverage = 0.95, ...)

# S3 method for smooth_estimates
add_confint(object, coverage = 0.95, ...)

# S3 method for parametric_effects
add_confint(object, coverage = 0.95, ...)

# S3 method for default
add_confint(object, coverage = 0.95, ...)

Arguments

object

a R object.

coverage

numeric; the coverage for the interval. Must be in the range 0 < coverage < 1.

...

arguments passed to other methods.