HasChange: For a given vector x, for each position, return whether the...

Description Usage Arguments Value

Description

For a given vector x, for each position, return whether the value at that position is different from the position k places away, with "different" determined by epsilon. If there is no position k places away, then there is no change.

Usage

1
HasChange(x, k, epsilon)

Arguments

x

numerical vector of interest

k

number of positions

epsilon

minimally detectable change

Value

cv a vector of booleans for whether or not there was a change.


johnjosephhorton/rAutor documentation built on May 26, 2019, 5:41 p.m.