KS: Uses Komolgorov-Smirnov test to find first significant change...

Description Usage Arguments Details Value

View source: R/logits.R

Description

Uses Komolgorov-Smirnov test to find first significant change point

Usage

1
KS(Data, R, Crit)

Arguments

Data

A vector of trial by trial measures or successive intervals

R

A vector of putative change points

Crit

Decision criterion, the value the logit must exceed for the function to return a significant change point

Details

Not normally called directly, but via the cp_wrapper function instead.

Value

r1 the change point row when the decision criterion is exceeded


ontogenerator/cpdetectoR documentation built on May 14, 2019, 1:59 a.m.