i0

i0 is the zero-targeting module for R that puts you in charge of your intercept.


i0 (pronounced "i-zero") provides a simple interface for exploring interactions in linear models. This R package is an implementation of the methods in Page-Gould and Miller (submitted), which extends Aiken and West (1991).

usage

# load the i0 library
library(i0)

# the following dataset comes with the i0 package
data(candy_example)

# create a zero-targeted model using the dataset
zt = target(candy ~ age + height + age * height, data=candy_example)

# explore +/- 1 standard deviation like Aiken and West (1991)
plot(zt)

gaussian results

installation

The i0 R package is easily installed using R or RStudio. In the R console, load devtools and install i0 from the project website:

library(devtools)
install_github("i0", "iandennismiller")

If you receive the message Error in library(devtools) : there is no package called devtools, you must first install devtools (see instructions below) then try again.

install.packages("devtools")

documentation

support

Please visit the issue tracker on github to report a problem.

references

Aiken, L. S., & West, S. G. (1991). Multiple regression: Testing and interpreting interactions. Sage Publications, Inc.

Page-Gould, E., & Miller, I. D. (submitted). Zeroing in on the intercept: Estimating marginal means and standard errors with linear models.