Learn R Programming

⚠️There's a newer version (0.2.0) of this package.Take me there.

scdtb

The goal of ‘scdtb’ is to provide tools for the analysis of single case design data.

Installation

You can install the released version of ‘scdtb’ from CRAN:

install.packages("scdtb")

To install the development version of ‘scdtb’ from GitHub, use the devtools package:

# install.packages("devtools")
devtools::install_github("mightymetrika/scdtb")

Analyze Your Data

Use the scdtb() function to launch a ‘shiny’ application which implements many of the tools in the ‘scdtb’ package.

The application has the following functionalities:

  • Upload a CSV file to be used as the dataset for modeling.
  • View the variables available in the uploaded dataset.
  • Enter the roles played by the variables in the dataset.
  • Create a raw plot of the data.
  • Run a mixed effect model.
  • Run a crossed lag correlation analysis.
  • Run a non-overlap of all pairs computation.
  • Run a randomization test.
library(scdtb)

# Launch application
scdtb()

Copy Link

Version

Install

install.packages('scdtb')

Monthly Downloads

171

Version

0.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Mackson Ncube

Last Published

April 30th, 2024

Functions in scdtb (0.1.0)

render_card_grid

Render a Grid of Card Images
process_cond

Process Condition Variable
cross_lagged

Cross-Lagged Correlation
nap

Non-overlap of All Pairs (NAP) Analysis
mixed_model_analysis

Mixed Model Analysis
print.cross_lagged

Print Method for Cross-Lagged Objects
napjack

Nap Jack: A Single Case Design Card Game
plot.cross_lagged

Plot Cross-Lagged Correlation Results
raw_plot

Plot Raw Data with Optional Phase and Condition Annotations
scdtb

Single Case Design Toolbox Shiny Application
randomization_test

Randomization Test for Single-Case Experiments
efficacy_of_CBT

Fictional Single Case Design Efficacy of CBT Example
sleeping_pills

Sleeping Pills and Dizziness Example
reversal_withdrawal

Reversal/withdrawal Design Example
process_phase

Process Phase Variable
basic_scd

Basic Single Case Design
swapper

Swap Cards Within a Row of a Card Matrix
deal_phase

Deal a Phase of Cards