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.53

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Juergen Wilbert

Last Published

September 22nd, 2021

Functions in scan (0.53)

corrected_tau

Baseline corrected tau
.inheritParams

Dummy function to inherit global descriptions of parameters
estimate_design

Estimate single-case design
convert

Covert Converts an scdf object to a text syntax
is.scdf

scdf objects Tests for objects of type "scdf"
hplm

Hierarchical piecewise linear model / piecewise regression
pnd

Percentage of non-overlapping data
power_test

Empirical power analysis for single-case data
plot.scdf

Plot single-case data
plm

Piecewise linear model / piecewise regression
print.sc

Print method for scan objects
%>%

Pipe
pet

Percent exceeding the trend
export

Export scan objects to html or latex
print.scdf

Print an scdf
fill_missing

Replacing missing measurement times in single-case data
overlap

Overlap indices for single-case data
scdf_attr

Set and get scdf attributes
outlier

Handling outliers in single-case data
readSC

Read single-case data from files
standardize

Standardize values of an scdf file
set_vars

Set analysis variables in an scdf
select_phases

Select and combine phases for overlap analyses
sample_names

Samples random names
shift

Shift values in a single-case data file
rci

Reliable change index
ranks

Rank-transformation of single-case data files
tau_u

Tau-U for single-case data
trend

Trend analysis for single-cases data
smooth_cases

Smoothing single-case data
describe

Descriptive statistics for single-case data
style_plot

Create styles for single-case data plots
select_cases

Select a subset of cases
scdf

Single case data frame
nap

Nonoverlap of all Pairs
scan-package

Single-Case Data Analyses
mplm

Multivariate Piecewise linear model / piecewise regression
truncate_phase

Truncate single-case data
writeSC

Export data into a .csv-file
pem

Percent exceeding the median
rand_test

Randomization Tests for single-case data
pand

Percentage of all non-overlapping data
subset.scdf

Subset cases, rows, and variables
random

Single-case data generator
summary.scdf

Summary functio for a scdf
add_l2

Add level 2
cdc

Conservative Dual-Criterion Method
as_scdf

as_scdf Converts a data frame to an scdf object
$.scdf

Select a scdf
as.data.frame.scdf

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

Combine single-case data frames
check_scdf

Validity check for an scdf object
Beretvas2008

Single-case example data
autocorr

Autocorrelation for single-case data