tests/testthat/test-reorder_states.R

test_that("state reordering works", {
  expect_s3_class(reorder_states(dax_model_3t, state_order = 3:1), "fHMM_model")
})

Try the fHMM package in your browser

Any scripts or data that you put into this service are public.

fHMM documentation built on Oct. 12, 2023, 5:10 p.m.