View source: R/plot_summary_print.R
plot.confreg | R Documentation |
plot
method for class "confreg".
Plots confidence regions for pairs of parameters using the profile
loglikelihood values calculated by conf_region
.
Up to 4 different types of loglikelihood (see the argument type
to the function returned by adjust_loglik
)
may be superimposed on the same plot.
## S3 method for class 'confreg'
plot(
x,
y = NULL,
y2 = NULL,
y3 = NULL,
conf = 95,
legend = any(c(!is.null(y), !is.null(y2), !is.null(y3))),
legend_pos = "topleft",
...
)
x, y, y2, y3 |
objects of class "confreg", results of calls to
|
conf |
A numeric vector of confidence levels, i.e. numbers in
(0, 100). A confidence region contour is plotted for each value in
|
legend |
A logical scalar or a character vector. If this is
supplied then a legend is added to the plot. If |
legend_pos |
The position of the legend (if required) specified using
the argument |
... |
Additional arguments passed to |
Nothing is returned.
See the examples in conf_region
.
adjust_loglik
to adjust a user-supplied
loglikelihood function.
conf_region
for a confidence region for
a pair of parameters.
conf_intervals
and plot.confint
to
plot confidence intervals for individual parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.