check_nchangepoints {LDATS}R Documentation

Check that nchangepoints vector is proper

Description

Check that the vector of numbers of changepoints is conformable to integers greater than 1.

Usage

check_nchangepoints(nchangepoints)

Arguments

nchangepoints

Vector of the number of changepoints to evaluate.

Value

An error message is thrown if nchangepoints is not proper, else NULL.

Examples

  check_nchangepoints(0)
  check_nchangepoints(2)


[Package LDATS version 0.3.0 Index]