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.
Downloads
171
Last 30 days
19200th
171
Last 90 days
171
Last year
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | NOTE |
| r-devel-linux-x86_64-fedora-gcc | NOTE |
| r-devel-macos-arm64 | NOTE |
| r-devel-windows-x86_64 | NOTE |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | NOTE |
| r-release-linux-x86_64 | NOTE |
| r-release-macos-arm64 | NOTE |
| r-release-macos-x86_64 | NOTE |
| r-release-windows-x86_64 | NOTE |
Check details (14 non-OK)
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'nap.R' 'randomization_test.R' 'scdtb.R'
*
*
*
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'nap.R' 'randomization_test.R' 'scdtb.R'
Check History
NOTE 3 OK · 11 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'nap.R' 'randomization_test.R' 'scdtb.R'
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘nap.R’ ‘randomization_test.R’ ‘scdtb.R’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'nap.R' 'randomization_test.R' 'scdtb.R'