powered by
Extract the upper bound of a confidence set
upper(x, ...)# S3 method for confidence_set upper(x, ...)
# S3 method for confidence_set upper(x, ...)
Named numeric scalar with the upper bound.
a confidence_set object
additional arguments (ignored)
cs <- invert_test( function(theta) wald_test(estimate = 5, se = 1.2, null_value = theta), grid = seq(0, 10, by = 0.1) ) upper(cs)
Run the code above in your browser using DataLab