diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2022-10-13 03:51:22 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2022-10-14 14:46:18 +0200 |
commit | b76e401a854021eaeda6f8ba262baf37b4ecfac2 (patch) | |
tree | b3c80276c320080c239eb8508e86c9e06b526143 /man/parhist.Rd | |
parent | 37bd36fe8a75163cbf0f97cb7a0e2f7466a53617 (diff) |
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.
Diffstat (limited to 'man/parhist.Rd')
-rw-r--r-- | man/parhist.Rd | 16 |
1 files changed, 13 insertions, 3 deletions
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 |