Learn R Programming

gmwm (version 2.0.0)

format_ci: Format the Confidence Interval for Estimates

Description

Creates hi and lo confidence based on SE and alpha.

Usage

format_ci(theta, se, alpha)

Arguments

theta
A vec containing the estimates
se
A vec containing the standard error
alpha
A double that contains the confidence level.

Value

A mat that has:
  • Column 1: Lo CI
  • Column 2: Hi CI
  • Column 3: SE