Plot Function for Single-Case Data Frames

Add-on for the 'scan' package that creates plots from single-case data frames ('scdf'). It includes functions for styling single-case plots, adding phase-based lines to indicate various statistical parameters, and predefined themes for presentations and publications. More information and in depth examples can be found in the online book "Analyzing Single-Case Data with R and 'scan" Jürgen Wilbert (2026) < https://jazznbass.github.io/scan-Book/>.


scplot

CRAN_Status_Badge Downloads

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.

How to install scplot?

From CRAN: install.packages("scplot")

For the developmental version from GitHub you need the pak package:
install.packages("pak")

Then install scplot from GitHub with:
pak::pak("jazznbass/scan")

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]").

Finding help

Basic example

library(scan)
library(scplot)
data("exampleABC")
scplot(exampleABC) 

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("scplot")

0.7.0 by Juergen Wilbert, 6 months ago


Browse source code at https://github.com/cran/scplot


Authors: Juergen Wilbert [aut, cre] (ORCID:


Documentation:   PDF Manual  


GPL (>= 3) license


Imports ggplot2, grid, scan, stats, utils, rlang, cli

Suggests rmarkdown, knitr


Suggested by scan.


See at CRAN