scplot is an add on package for scan which provides a convenient set of functions to create single-case graphics. scplot is based on ggplot2.
From CRAN: install.packages("scplot")
For the developmental version from GitHub you need the devtools package:install.packages("devtools")
Then install scplot from GitHub with:devtools::install_github("jazznbass/scplot")
After installation, load the package with:library(scplot)
You also need to have the scan package installed and loaded:install.packages("scan")library(scan)
If you get errors, look if a specific package is missing/ not found and try to install the missing package with install.packages("[name-of-the-missing-package]").