Lightbulb is an R package featuring a collection of data analysis tutorials. The tutorials support learning in Introduction to Business Analytics and Statistics and Predictive Analytics, offered in the David Eccles School of Business at the University of Utah.
- Probability
- Comparing Means
- Simple Linear Regression
- Multiple Linear Regression
- Real World Regression
- Classification with Logistic Regression
- The Bootstrap
To install lightbulb:
- Install two R packages on your computer, learnr and devtools: install.packages("devtools", "learner").
- Load the devtools package: library(devtools).
- Install the lightbulb package from this github repo: install_github("jefftwebb/lightbulb").
To use the lightbulb tutorials:
- Load the learnr package: library(learnr)
- Open a lightbulb tutorial using the run_tutorial() function in learnr. For example: run_tutorial("Probability", package = "lightbulb"). This will automatically bring up a browser window with the tutorial on probability.