Profile Likelihood: Plot of the Parameter Paths
Arguments
- profs
A parframe of profiles as returned by profile(), or a list of those.
- ...
Logical expressions to subset the plotted data.
- whichPar
Character or index vector, the profiled parameters whose paths are drawn.
NULL(default) takes all.- sort
Logical.
TRUEsorts each pair of parameters so that a pair appears once;FALSE(default) keeps both orders.- relative
Logical.
TRUE(default) shifts each path to start at the optimum.- scales
Character,
"fixed"(default) or"free".
Examples
pars <- c(a = 1, b = 0.5)
obj <- constraintL2(mu = pars, sigma = 0.1)
profs <- profile(obj, pars, whichPar = c("a", "b"), limits = c(-1, 1),
cores = 1)
plotPaths(profs)
plotPaths(profs, whichPar = "a")