To install the openintro package:
# install.packages("devtools")
library(devtools)
install_github("OpenIntroOrg/openintro-r-package", subdir = "openintro")This package was produced as part of the OpenIntro project. For the accompanying textbook, visit openintro.org. A PDF of the textbook is free and paperbacks can be purchased online (royalty-free).
To install the OIdata package:
# install.packages("devtools")
library(devtools)
install_github("OpenIntroOrg/openintro-r-package", subdir = "OIdata")This package contains additional data sets beyond those included in the openintro package.
To install the OIsurv package:
# install.packages("devtools")
library(devtools)
install_github("OpenIntroOrg/openintro-r-package", subdir = "OIsurv")This package was produced for the Survival Analysis in R guide.
To install the stockPortfolio package:
# install.packages("devtools")
library(devtools)
install_github("OpenIntroOrg/openintro-r-package", subdir = "stockPortfolio")Use the stockPortfolio package as a tool for making investments at
your own risk. There is no guarantee of implementation accuracy or the usefulness of the methods for actual investments.