Extract the lower bound of a confidence set
lower(x, ...)
# S3 method for class 'confidence_set'
lower(x, ...)Named numeric scalar with the lower bound.
cs <- invert_test(
function(theta) wald_test(estimate = 5, se = 1.2, null_value = theta),
grid = seq(0, 10, by = 0.1)
)
lower(cs)
#> lower
#> 2.7