get_ci: Extract Confidence Intervals from a 'bootci' Object

View source: R/fwb.ci.R

get_ciR Documentation

Extract Confidence Intervals from a bootci Object

Description

get_ci() extracts the confidence intervals from the output of a call to \pkgfunbootboot.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 bootci object; the output of a call to boot::boot.ci() or fwb.ci().

type

the type of confidence intervals to extract. Only those available in x are allowed. Should be a given as a subset of the types passed to type in boot.ci() or fwb.ci(). The default, "all", extracts all confidence intervals in x.

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

fwb.ci(), confint.fwb(), \pkgfunbootboot.ci

Examples

#See example at help("fwb.ci")


fwb documentation built on June 12, 2025, 1:07 a.m.