Learn R Programming

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

scan - Single-Case Data Analyses for Single and Multiple Baseline Designs

This package provides a collection of procedures for analysing, visualising, and managing single-case data. These include piecewise linear regression models, multilevel models, overlap indices (PND, PEM, PAND, PET, tauU, baseline corrected tau), and randomization tests. Data preparation functions support outlier detection, handling missing values, scaling, truncating, rank transformation, and smoothing. An exporting function helps to generate html and latex tables in a publication friendly style.

More details can be found at https://jazznbass.github.io/scan-Book/.

Copy Link

Version

Install

install.packages('scan')

Monthly Downloads

571

Version

0.51

License

GPL

Maintainer

Juergen Wilbert

Last Published

February 22nd, 2021

Functions in scan (0.51)

estimate_design

Estimate single-case design
fill_missing

Replacing missing measurement times in single-case data
export

Export scan objects to html or latex
hplm

Hierarchical piecewise linear model / piecewise regression
longSCDF

Creating a long format data frame from several single-case data frames (scdf).
makesingleSC

(Deprecated function) Aggregate multiple single-cases into one case
mplm

Multivariate Piecewise linear model / piecewise regression
pet

Percent exceeding the trend
pem

Percent exceeding the median
power_test

Empirical power analysis for single-case data
print.sc

Print method for scan objects
scdf_attr

Set and get scdf attributes
nap

Nonoverlap of all Pairs
overlap

Overlap indices for single-case data
outlier

Handling outliers in single-case data
rci

Reliable change index
readSC

Read single-case data from files
scan-package

Single-Case Data Analyses
rand_test

Randomization Tests for single-case data
print.scdf

Print an scdf
makeSCDF

Single case data frame
random

Single-case data generator
select_cases

Select a subset of cases
subset.scdf

Subset cases, rows, and variables
ranks

Rank-transformation of single-case data files
power.testSC

(Deprecated function) Empirical power analysis for single-case data
pnd

Percentage of non-overlapping data
summary.scdf

Summary functio for a scdf
writeSC

Export data into a .csv-file
shift

Shift values in a single-case data file
smooth_cases

Smoothing single-case data
standardize

Standardize values of an scdf file
truncate_phase

Truncate single-case data
style_plot

Create styles for single-case data plots
plm

Piecewise linear model / piecewise regression
tau_u

Tau-U for single-case data
plot.scdf

Plot single-case data
pand

Percentage of all non-overlapping data
trend

Trend analysis for single-cases data
$.scdf

Select a scdf
.inheritParams

Dummy function to inherit global descriptions of parameters
corrected_tau

Baseline corrected tau
estimateSC

(Deprecated function) Estimate single-case design
Beretvas2008

Single-case example data
describeSC

Descriptive statistics for single-case data
combine

Combine single-case data frames into a multiple case study
as_scdf

as_scdf Converts a data frame to an scdf object
autocorr

Autocorrelation for single-case data