Check that the change point locations are numeric and conformable to interger values.

check_changepoints(changepoints = NULL)

Arguments

changepoints

Change point locations to evaluate.

Value

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

Examples

  check_changepoints(100)