Learn R Programming

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

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

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', 'tau-u', 'baseline corrected tau', 'CDC'), and randomization tests. Data preparation functions support outlier detection, handling missing values, scaling, truncation, rank transformation, and smoothing. An export 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

1,426

Version

0.60.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Juergen Wilbert

Last Published

August 8th, 2023

Functions in scan (0.60.0)

autocorrSC

List of old deprecated function names
corrected_tau

Baseline corrected tau
estimate_design

Estimate single-case design
export

Export scan objects to html or latex
describe

Descriptive statistics for single-case data
hplm

Hierarchical piecewise linear model / piecewise regression
.inheritParams

Dummy function to inherit global descriptions of parameters
example_data

Single-case example data
fill_missing

Replacing missing measurement times in single-case data
mplm

Multivariate Piecewise linear model / piecewise regression
pet

Percent exceeding the trend
outlier

Handling outliers in single-case data
design

Generate a single-case design matrix
is.scdf

scdf objects Tests for objects of type "scdf"
ird

IRD - Improvement rate difference
overlap

Overlap indices for single-case data
pem

Percent exceeding the median
pand

Percentage of all non-overlapping data
nap

Nonoverlap of all Pairs
power_test

Empirical power analysis for single-case data
print.sc

Print methods for scan objects
%>%

Pipe
random_scdf

Single-case data generator
sample_names

Samples random names
scan-package

Single-Case Data Analyses
select_cases

Select a subset of cases
plot.scdf

Plot single-case data
select_phases

Select and combine phases for overlap analyses
plm

Piecewise linear model / piecewise regression
ranks

Rank-transformation of single-case data files
rci

Reliable change index
read_scdf

Load single-case data from files
plot_rand

Plot random distribution
pnd

Percentage of non-overlapping data
scdf

Single case data frame
scdf_attr

Set and get scdf attributes
style_plot

Create styles for single-case data plots
smd

Standardized mean differences
shinyscan

A Shiny app for scan
standardize

Standardize values of an scdf file
subset.scdf

Subset cases, rows, and variables
print.scdf

Print an scdf
set_vars

Set analysis variables in an scdf
summary.scdf

Summary function for an scdf
rand_test

Randomization Tests for single-case data
moving_median

Transform every single case of a single case data frame
tau_u

Tau-U for single-case data
shift

Shift values in a single-case data file
trend

Trend analysis for single-cases data
smooth_cases

Smoothing single-case data
truncate_phase

Truncate single-case data
write_scdf

Data output
combine

Combine single-case data frames
$.scdf

Select an scdf
autocorr

Autocorrelation for single-case data
as_scdf

as_scdf
batch_apply

Apply a function to each element in an scdf.
coef.sc_plm

Extract coefficients from plm/hplm objects
add_l2

Add level-2 data
convert

Convert
as.data.frame.scdf

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

Conservative Dual-Criterion Method