From f820bf5b91be0f589de16c3e3250f5f79672df75 Mon Sep 17 00:00:00 2001
From: Johannes Ranke <jranke@uni-bremen.de>
Date: Fri, 28 Oct 2022 13:39:15 +0200
Subject: Rename parhist to parplot and make it generic

That parhist name was not the brightest idea, as it does
not show histograms.
---
 vignettes/web_only/multistart.rmd | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'vignettes/web_only/multistart.rmd')

diff --git a/vignettes/web_only/multistart.rmd b/vignettes/web_only/multistart.rmd
index 94f4ef98..27a8a96a 100644
--- a/vignettes/web_only/multistart.rmd
+++ b/vignettes/web_only/multistart.rmd
@@ -40,7 +40,7 @@ with different starting values.
 
 ```{r}
 f_saem_full_multi <- multistart(f_saem_full, n = 16, cores = 16)
-parhist(f_saem_full_multi)
+parplot(f_saem_full_multi)
 ```
 
 This confirms that the variance of k2 is the most problematic parameter, so we
@@ -51,7 +51,7 @@ for k2.
 f_saem_reduced <- update(f_saem_full, no_random_effect = "log_k2")
 illparms(f_saem_reduced)
 f_saem_reduced_multi <- multistart(f_saem_reduced, n = 16, cores = 16)
-parhist(f_saem_reduced_multi, lpos = "topright")
+parplot(f_saem_reduced_multi, lpos = "topright")
 ```
 
 The results confirm that all remaining parameters can be determined with sufficient
@@ -67,7 +67,7 @@ The parameter histograms can be further improved by excluding the result with
 the low likelihood.
 
 ```{r}
-parhist(f_saem_reduced_multi, lpos = "topright", llmin = -326, ylim = c(0.5, 2))
+parplot(f_saem_reduced_multi, lpos = "topright", llmin = -326, ylim = c(0.5, 2))
 ```
 
 We can use the `anova` method to compare the models, including a likelihood ratio
-- 
cgit v1.2.1

