estimate<-EstMLEMcGBB(Chromosome_data$No.of.Asso,Chromosome_data$fre,0.1,15,3)
context("Checking outputs")
test_that("estimate method",{
expect_identical(estimate@method,
"BFGS")
})
test_that("estimate method",{
expect_identical(estimate@optimizer,
"optim")
})
test_that("minimized negative ll value",{
expect_identical(round(estimate@min,4),
436.808)
})
test_that("Checking class of output",{
expect_that(estimate,
is_a("mle2"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.