conf.ints: Helper function to construct confidence intervals

Description Usage Arguments Examples

View source: R/conf.ints.R

Description

Helper function that builds out user-specified confidence intervals.

Usage

1
2
conf.ints(model = model, level = 0.95, vars = NULL,
  var.labels = NULL)

Arguments

model

Model takes the object name of your linear regression model. Example - if you run the following command: m1 <- lm(y~x), then enter m1 for this argument.

level

User-specified confidence interval. Default = 0.95

vars

Variable selection (default all)

var.labels

Variable names if not default

Examples

1
2
3
# Estimate a regression using 'mtcars' data:
m <- lm(mpg~disp+hp+wt+am,data=mtcars)
conf.ints(m,level=0.99)

loganstundal/POL3085 documentation built on May 21, 2019, 10:32 a.m.