PsyControl (version 1.0.0.0)

cusum.flag: Flags aberrant participants based on CUSUM statistics.

Description

Flags aberrant participants based on CUSUM statistics.

Usage

cusum.flag(cusum.obj, cutoff.obj, cut = NULL)

Arguments

cusum.obj

an object returned from cusum or cusum.poly

cutoff.obj

an object returned from cusum.cutoff

cut

a vector for user specified cut offs (e.g c(1,1)). The first value is the upper limit. The second value is the lower limit.

Value

Returns a true or false matrix whether a person is aberrantly responding.