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

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

775

Version

0.61.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Juergen Wilbert

Last Published

July 1st, 2024

Functions in scan (0.61.0)

outlier

Handling outliers in single-case data
pand

Percentage of all non-overlapping data
hplm

Hierarchical piecewise linear model / piecewise regression
ird

IRD - Improvement rate difference
overlap

Overlap indices for single-case data
mplm

Multivariate Piecewise linear model / piecewise regression
nap

Nonoverlap of all Pairs
pem

Percent exceeding the median
print.scdf

Print an scdf
rand_test

Randomization Tests for single-case data
is.scdf

scdf objects Tests for objects of type "scdf"
pet

Percent exceeding the trend
plot_rand

Plot random distribution
pnd

Percentage of non-overlapping data
%>%

Pipe
ranks

Rank-transformation of single-case data files
set_vars

Set analysis variables in an scdf
scdf

Single case data frame
random_scdf

Single-case data generator
shift

Shift values in a single-case data file
scdf_attr

Set and get scdf attributes
sample_names

Samples random names
rci

Reliable change index
power_test

Empirical power analysis for single-case data
batch_apply

Apply a function to each element in an scdf.
autocorr

Autocorrelation for single-case data
read_scdf

Load single-case data from files
print.sc_plm

Print methods for scan objects
smd

Standardized mean differences
shinyscan

A Shiny app for scan
style_plot

Create styles for single-case data plots
moving_median

Transform every single case of a single case data frame
scan-package

Single-Case Data Analyses
trend

Trend analysis for single-cases data
summary.scdf

Summary function for an scdf
tau_u

Tau-U for single-case data
subset.scdf

Subset cases, rows, and variables
export

Export scan objects to html or latex
select_phases

Select and combine phases for overlap analyses
example_data

Single-case example data
select_cases

Select a subset of cases
standardize

Standardize values of an scdf file
plm

Piecewise linear model / piecewise regression
plot.scdf

Plot single-case data
truncate_phase

Truncate single-case data
smooth_cases

Smoothing single-case data
write_scdf

Data output
as_scdf

as_scdf
$.scdf

Select an scdf
coef.sc_plm

Extract coefficients from plm/hplm objects
combine

Combine single-case data frames
as.data.frame.scdf

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

Conservative Dual-Criterion Method
add_l2

Add level-2 data
convert

Convert
corrected_tau

Baseline corrected tau
deprecated-functions

List of old deprecated function names
describe

Descriptive statistics for single-case data
estimate_design

Estimate single-case design
.inheritParams

Dummy function to inherit global descriptions of parameters
fill_missing

Replacing missing measurement times in single-case data
design

Generate a single-case design matrix