verify_changepoint_locations {LDATS} | R Documentation |
Verify the change points of a multinomial time series model
Description
Verify that a time series can be broken into a set of chunks based on input change points.
Usage
verify_changepoint_locations(data, changepoints = NULL, timename = "time")
Arguments
data |
Class |
changepoints |
Numeric vector indicating locations of the change
points. Must be conformable to |
timename |
|
Value
Logical indicator of the check passing TRUE
or failing
FALSE
.
Examples
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")
[Package LDATS version 0.3.0 Index]