tests/testthat/test-bootstrapSE.R

context("boostrapSE")

test_that("bootstrapSE works", {

    data(mbmixdata)

    set.seed(20180811)
    expected <- c(p = 0.000375210152625023, err = 0.0000269087827406382)

    expect_equal(bootstrapSE(mbmixdata, 100), expected)

})

Try the mbmixture package in your browser

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

mbmixture documentation built on April 4, 2025, 1:44 a.m.