Learn R Programming

parameters (version 0.1.0)

ci.glm: Confidence Interval (CI)

Description

Compute confidence intervals (CI) for frequentist models.

Usage

# S3 method for glm
ci(x, ci = 0.95, ...)

# S3 method for merMod ci(x, ci = 0.95, method = c("wald", "boot"), ...)

Arguments

x

A statistical model.

ci

Confidence Interval (CI) level. Default to 0.95 (95%).

...

Arguments passed to or from other methods.

method

For mixed models, can be "wald" (default) or "boot" (see lme4::confint.merMod).

Value

A data.frame containing the CI bounds.