Learn R Programming

SLC (version 0.3)

slcestimates: Slope and level change estimates

Description

Computes slope and level change estimates after removing linear phase A trend.

Usage

slcestimates(info, n_a)

Arguments

info
one-dimensional data array: measurements separated by spaces; can be evoked as info <- array(scan("info.dat")) or inputting the data directly
n_a
minimum and maximums per scale matrix

Value

trendB
slope change
level
level change

References

Solanas, A. Manolov, R., & Onghena, P. (2010). Estimating slope and level change in single-case designs. Behavior Modification, 34, 195-218.

Examples

Run this code
info <- array(c(3,4,2,5,6,7))
n_a <- 3
results <- slcestimates(info,n_a)

Run the code above in your browser using DataLab