R/multinom_TS.R
verify_changepoint_locations.RdVerify that a time series can be broken into a set of chunks based on input change points.
verify_changepoint_locations(data, changepoints = NULL, timename = "time")
| data | Class |
|---|---|
| changepoints | Numeric vector indicating locations of the change
points. Must be conformable to |
| timename |
|
Logical indicator of the check passing TRUE or failing
FALSE.
data(rodents) dtt <- rodents$document_term_table lda <- LDA_set(dtt, 2, 1, list(quiet = TRUE)) dct <- rodents$document_covariate_table dct$gamma <- lda[[1]]@gamma verify_changepoint_locations(dct, changepoints = 100, timename = "newmoon")