tests/testthat/test-ls_kalman.R

test_that("LS.kalman works", {
  lsk <- LS.kalman(malleco, start(malleco))
  expect_equal(unique(lsk$delta), 1542564)
})

Try the LSTS package in your browser

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

LSTS documentation built on July 29, 2021, 5:07 p.m.