Single-Case Data Analyses for Single and Multiple Baseline Designs
Overview
A collection of procedures for analysing, visualising, and managing single-case data. Multi-phase and multi-baseline designs are supported. Analysing methods include regression models (multilevel, multivariate, bayesian), between case standardised mean difference, overlap indices ('PND', 'PEM', 'PAND', 'NAP', 'PET', 'tau-u', 'IRD', 'baseline corrected tau', 'CDC'), and randomization tests. Data preparation functions support outlier detection, handling missing values, scaling, and custom transformations. An export function helps to generate html, word, and latex tables in a publication friendly style. A shiny app allows to use scan in a graphical user interface. More details can be found in the online book 'Analyzing single-case data with R and scan', Juergen Wilbert (2026) https://jazznbass.github.io/scan-Book/.
- Introduced rlang error and messaging system for more informative error messages and warnings.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 74 (16 internal)includes a package overview page
- Examples that run
- 100%51 run in a plain check
- Exported functions with examples
- 81%
- Documented parameters
- 96%
- Return-value docs
- 84%
- Help pages citing references
- 15%
Downloads
Repository
- PRs merged (all time)
- 95%
- Median days to close, 50 most recently updated closed issues
- 5
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
7 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/jazznbass/scan on 2026-10-11.
GitHub Pages site last deployed 2026-04-28
pkgdown site last built 2026-04-27, before release 0.68.1 (2026-04-28)
Dependencies
Installing scan adds 120 packages (60 with compiled code, 99 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 0.68.1Latest
- RR 4.6.0 released · 2026-04-24
- 0.68.02026-04-01 · diff ↗
- 0.67.02025-09-11 · diff ↗
- 0.66.0
- 0.65.12025-07-13 · diff ↗
- 0.65.0
- RR 4.5.0 released · 2025-04-11
- 0.64.0
- 0.63.0
- 0.62.02025-02-05 · diff ↗ ·
removed 13 exports
autocorrSC, corrected_tauSC, describeSC, design_rSC, longSCDF, outlierSC, rankSC, shiftSC, smoothSC, style.plotSC, style_plotSC, trendSC, truncateSCadded 2 exports
between_smd, rescale - 0.61.0
- RR 4.4.0 released · 2024-04-24
- 0.60.0
- 0.59.02023-06-03 · diff ↗
- 0.58
Show 19 earlier eventsHide 19 earlier events
- RR 4.3.0 released · 2023-04-21
- 0.57
- 0.562023-02-16 · diff ↗ ·
removed 1 export
.load_ymladded 6 exports
across_cases, all_cases, first_of, local_regression, moving_mean, moving_median - 0.552022-08-29 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.54.12022-04-03 · diff ↗
- 0.542022-03-23 · diff ↗ ·
added 7 exports
.load_yml, design, plot_rand, random_scdf, read_scdf, smd, write_scdf - 0.532021-09-22 · diff ↗ ·
removed 4 exports
estimateSC, makeSCDF, makesingleSC, power.testSCadded 13 exports
%>%, add_l2, cdc, check_scdf, convert, describe, is.scdf, sample_names, select_phases, set_dvar, set_mvar, set_pvar, set_vars - RR 4.1.0 released · 2021-05-18
- unarchivedReturned to CRAN2021-02-22
- 0.512021-02-22 · diff ↗ ·
removed 1 export
scaleSCadded 20 exports
autocorr, combine, corrected_tau, fill_missing, outlier, overlap, power_test, rCi, rand_test, ranks, rci, select_cases, shift, smooth_cases, standardize, style.plotSC, style_plot, tau_u, trend, truncate_phase - archivedRemoved from CRAN2021-02-05issues were not corrected despite reminders 'xtfrm()' on data frames
- RR 4.0.0 released · 2020-04-24
- 0.402019-08-05 · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 43 exports
scdf_attr<-, as_scdf, autocorrSC, corrected_tauSC, describeSC, design_rSC, estimateSC, estimate_design, export, fillmissingSC, hplm, longSCDF, makeSCDF, makesingleSC, mplm, nap, outlierSC, overlapSC, pand, pem, pet, plm, plotSC, pnd, power.testSC, power_testSC, rSC, rand.test, randSC, rankSC and 13 more - RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 0.202016-10-14
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2016-10-14
- Total releases
- 22 / 10 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 42 KB / 36 files
- Download size
- 323 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("scan")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.