aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_multistart.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2022-10-26 08:40:58 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2022-10-26 08:40:58 +0200
commit06df20703a9390692ab1ece3ae1702a71fff05ae (patch)
tree29b5adc2cc8dbb24ae70b5f2e0d95459dbc7497e /tests/testthat/test_multistart.R
parent36dd8f47c147ed64874c88c9914a1ab4850a72cc (diff)
Remove kernel density estimate from llhist
Diffstat (limited to 'tests/testthat/test_multistart.R')
-rw-r--r--tests/testthat/test_multistart.R5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testthat/test_multistart.R b/tests/testthat/test_multistart.R
index 2c7a2bc0..60fdefdc 100644
--- a/tests/testthat/test_multistart.R
+++ b/tests/testthat/test_multistart.R
@@ -1,6 +1,11 @@
context("Multistart method for saem.mmkin models")
test_that("multistart works for saem.mmkin models", {
+ saem_sfo_s_multi <- multistart(sfo_saem_1, n = 8, cores = n_cores)
+
+ llhist_sfo <- function() llhist(saem_sfo_s_multi, xlim = c(-644, -647))
+ vdiffr::expect_doppelganger("llhist for sfo fit", llhist_sfo)
+
set.seed(123456)
saem_biphasic_m_multi <- multistart(saem_biphasic_m, n = 8,
cores = n_cores)

Contact - Imprint