get_ci {fwb} | R Documentation |
Extract Confidence Intervals from a bootci
Object
Description
get_ci()
extracts the confidence intervals from the output of a call to boot::boot.ci()
or fwb.ci()
in a clean way. Normally the confidence intervals can be a bit challenging to extract because of the unusual structure of the object.
Usage
get_ci(x, type = "all")
Arguments
x |
a |
type |
the type of confidence intervals to extract. Only those available in |
Value
A list with an entry for each confidence interval type; each entry is a numeric vector of length 2 with names "L"
and "U"
for the lower and upper interval bounds, respectively. The "conf"
attribute contains the confidence level.
See Also
Examples
#See example at help("fwb.ci")