Check that the vector of numbers of changepoints is conformable to integers greater than 1.
check_nchangepoints(nchangepoints)
nchangepoints | Vector of the number of changepoints to evaluate. |
---|
An error message is thrown if nchangepoints
is not proper,
else NULL
.
check_nchangepoints(0) check_nchangepoints(2)