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

775

Version

0.56

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Juergen Wilbert

Last Published

February 16th, 2023

Functions in scan (0.56)

describe

Descriptive statistics for single-case data
export

Export scan objects to html or latex
estimate_design

Estimate single-case design
fill_missing

Replacing missing measurement times in single-case data
corrected_tau

Baseline corrected tau
hplm

Hierarchical piecewise linear model / piecewise regression
autocorrSC

List of old deprecated function names
convert

Covert Converts an scdf object to a text syntax
design

Generate a single-case design matrix
.inheritParams

Dummy function to inherit global descriptions of parameters
is.scdf

scdf objects Tests for objects of type "scdf"
mplm

Multivariate Piecewise linear model / piecewise regression
overlap

Overlap indices for single-case data
nap

Nonoverlap of all Pairs
pem

Percent exceeding the median
pet

Percent exceeding the trend
outlier

Handling outliers in single-case data
pand

Percentage of all non-overlapping data
%>%

Pipe
plm

Piecewise linear model / piecewise regression
pnd

Percentage of non-overlapping data
print.scdf

Print an scdf
rci

Reliable change index
power_test

Empirical power analysis for single-case data
print.sc

Print methods for scan objects
random_scdf

Single-case data generator
ranks

Rank-transformation of single-case data files
plot.scdf

Plot single-case data
rand_test

Randomization Tests for single-case data
plot_rand

Plot random distribution
sample_names

Samples random names
read_scdf

Load single-case data from files
set_vars

Set analysis variables in an scdf
select_phases

Select and combine phases for overlap analyses
scdf

Single case data frame
scan-package

Single-Case Data Analyses
shift

Shift values in a single-case data file
select_cases

Select a subset of cases
scdf_attr

Set and get scdf attributes
smd

Standardized mean differences
truncate_phase

Truncate single-case data
write_scdf

Write data into a .csv-file
trend

Trend analysis for single-cases data
moving_median

Transform variables in every single case of a single case data frame
tau_u

Tau-U for single-case data
standardize

Standardize values of an scdf file
smooth_cases

Smoothing single-case data
summary.scdf

Summary function for an scdf
style_plot

Create styles for single-case data plots
subset.scdf

Subset cases, rows, and variables
coef.sc_plm

Extract coefficents from plm/hplm objects
autocorr

Autocorrelation for single-case data
as.data.frame.scdf

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

as_scdf Converts a data frame to an scdf object.
add_l2

Add level 2
check_scdf

Validity check for an scdf object
combine

Combine single-case data frames
cdc

Conservative Dual-Criterion Method
$.scdf

Select an scdf
Beretvas2008

Single-case example data