Package: scdtb
Title: Single Case Design Tools
Version: 0.2.0
Authors@R: c(
    person("Mackson", "Ncube", , "macksonncube.stats@gmail.com", role = c("aut", "cre")),
    person("mightymetrika, LLC", role = c("cph", "fnd"))
  )
Description: 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) <https://ies.ed.gov/ncee/wwc/Handbooks>. 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.
License: MIT + file LICENSE
Encoding: UTF-8
RoxygenNote: 7.3.2
URL: https://github.com/mightymetrika/scdtb
BugReports: https://github.com/mightymetrika/scdtb/issues
Depends: R (>= 2.10)
LazyData: true
Suggests: testthat (>= 3.0.0)
Config/testthat/edition: 3
Imports: broom.mixed, DT, ggplot2, MASS, mmcards, mmints, nlme, shiny,
        shinythemes, sn
NeedsCompilation: no
Packaged: 2024-09-20 15:19:12 UTC; Administrator
Author: Mackson Ncube [aut, cre],
  mightymetrika, LLC [cph, fnd]
Maintainer: Mackson Ncube <macksonncube.stats@gmail.com>
Repository: CRAN
Date/Publication: 2024-09-20 16:30:02 UTC
Built: R 4.7.0; ; 2026-05-29 05:06:00 UTC; windows
