scdtb: Single Case Design Tools

In some situations where researchers would like to demonstrate causal effects, it is hard to obtain a sample size that would allow for a well-powered randomized controlled trial. Single case designs are experimental designs that can be used to demonstrate causal effects with only one participant or with only a few participants. The 'scdtb' package provides a suite of tools for analyzing data from studies that use single case designs. The nap() function can be used to compute the nonoverlap of all pairs as outlined by the What Works Clearinghouse (2022) <>. The package also offers the mixed_model_analysis() and cross_lagged() functions which implement mixed effects models and cross lagged analyses as described in Maric & van der Werff (2020) <doi:10.4324/9780429273872-9>. The randomization_test() function implements randomization tests based on methods presented in Onghena (2020) <doi:10.4324/9780429273872-8>. The scdtb() 'shiny' application can be used to upload single case design data and access various 'scdtb' tools for plotting and analysis.

Version: 0.1.0
Depends: R (≥ 2.10)
Imports: broom.mixed, DT, ggplot2, mmcards, nlme, shiny, shinythemes
Suggests: testthat (≥ 3.0.0)
Published: 2024-04-30
Author: Mackson Ncube [aut, cre], mightymetrika, LLC [cph, fnd]
Maintainer: Mackson Ncube <macksonncube.stats at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README
CRAN checks: scdtb results


Reference manual: scdtb.pdf


Package source: scdtb_0.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): scdtb_0.1.0.tgz, r-oldrel (arm64): scdtb_0.1.0.tgz, r-release (x86_64): scdtb_0.1.0.tgz, r-oldrel (x86_64): scdtb_0.1.0.tgz


Please use the canonical form to link to this page.