diff options
author | Johannes Ranke <johannes.ranke@jrwb.de> | 2025-02-13 15:46:49 +0100 |
---|---|---|
committer | Johannes Ranke <johannes.ranke@jrwb.de> | 2025-02-13 15:46:49 +0100 |
commit | e8db0cdb378fe4f429f935221c4eb50b178b84a5 (patch) | |
tree | 8fc79fff89dc5c04ddbf193551d631bc19172850 /tests/testthat/test_multistart.R | |
parent | 4c3ce8a3e77969162a6717cb2c5d2dd9f02ef1c9 (diff) |
Improve legend in parplots of multistart objects
Diffstat (limited to 'tests/testthat/test_multistart.R')
-rw-r--r-- | tests/testthat/test_multistart.R | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/testthat/test_multistart.R b/tests/testthat/test_multistart.R index dda0ea23..36aa63f7 100644 --- a/tests/testthat/test_multistart.R +++ b/tests/testthat/test_multistart.R @@ -44,13 +44,16 @@ test_that("multistart works for saem.mmkin models", { vdiffr::expect_doppelganger("mixed model fit for saem object with mkin transformations", plot_dfop_sfo_saem_m) llhist_sfo <- function() llhist(saem_sfo_s_multi) - parplot_sfo <- function() parplot(saem_sfo_s_multi, ylim = c(0.5, 2)) + parplot_sfo <- function() parplot(saem_sfo_s_multi, ylim = c(0.5, 2), las = 1) vdiffr::expect_doppelganger("llhist for sfo fit", llhist_sfo) vdiffr::expect_doppelganger("parplot for sfo fit", parplot_sfo) llhist_dfop_sfo <- function() llhist(saem_dfop_sfo_m_multi) - parplot_dfop_sfo <- function() parplot(saem_dfop_sfo_m_multi, - ylim = c(0.5, 2), llquant = 0.5) + parplot_dfop_sfo <- function() { + par(mar = c(10.1, 4.1, 2.1, 2.1)) + parplot(saem_dfop_sfo_m_multi, + ylim = c(0.5, 2), llquant = 0.5, las = 2) + } vdiffr::expect_doppelganger("llhist for dfop sfo fit", llhist_dfop_sfo) vdiffr::expect_doppelganger("parplot for dfop sfo fit", parplot_dfop_sfo) |