tests/testthat/test-sparse.R

test_that("sparse transition matrix is accepted", {
  expect_is(as(sparsematrix, "markovchain"), "markovchain")
})

Try the markovchain package in your browser

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

markovchain documentation built on April 3, 2025, 9:59 p.m.