From b76e401a854021eaeda6f8ba262baf37b4ecfac2 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 13 Oct 2022 03:51:22 +0200 Subject: Select best fit from multistart, use in parhist - Add 'best' and 'which.best' generics with methods for multistart objects - Per default, scale the parameters in parhist plots using the fit with the highest log likelihood. --- man/parhist.Rd | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'man/parhist.Rd') diff --git a/man/parhist.Rd b/man/parhist.Rd index a8319283..67bbadad 100644 --- a/man/parhist.Rd +++ b/man/parhist.Rd @@ -4,11 +4,20 @@ \alias{parhist} \title{Plot parameter distributions from multistart objects} \usage{ -parhist(object, lpos = "bottomleft", main = "", ...) +parhist( + object, + scale = c("best", "median"), + lpos = "bottomleft", + main = "", + ... +) } \arguments{ \item{object}{The \link{multistart} object} +\item{scale}{By default, scale parameters using the best available fit. +If 'median', parameters are scaled using the median parameters from all fits.} + \item{lpos}{Positioning of the legend.} \item{main}{Title of the plot} @@ -16,8 +25,9 @@ parhist(object, lpos = "bottomleft", main = "", ...) \item{\dots}{Passed to \link{boxplot}} } \description{ -Produces a boxplot with all parameters from the multiple runs, divided by -using their medians as in the paper by Duchesne et al. (2021). +Produces a boxplot with all parameters from the multiple runs, scaled +either by the parameters of the run with the highest likelihood, +or by their medians as proposed in the paper by Duchesne et al. (2021). } \references{ Duchesne R, Guillemin A, Gandrillon O, Crauste F. Practical -- cgit v1.2.1