plot-methods: ~~ Methods for Function 'plot' from package 'graphics' ~~

plot-methodsR Documentation

~~ Methods for Function plot from package graphics ~~

Description

It plots the confidence region.

Usage


## S4 method for signature 'ANY'
plot(x, y, ...) 

## S4 method for signature 'mconfint'
plot(x, y, main=NULL, xlab=NULL, ylab=NULL, 
                          pch=21, bg=1, Pcol=1, ylim=NULL, xlim=NULL,
                          add=FALSE, addEstimates=TRUE, ...)

Arguments

x

An object to plot

y

On used for "ANY".

main

Optional title

xlab

Optional label for the x-axis.

ylab

Optional label for the y-axis.

pch

Type of points (see points).

bg

Background color for points.

Pcol

The color for the points. If col is used, it is passed to polygon

xlim

Optional range for the x-axis.

ylim

Optional range for the y-axis.

add

If TRUE, the region is added to an existing plot.

addEstimates

Should we add the point estimate to the confidence region? This option is only used when add is FALSE.

...

Arguments to pass to polygon

Methods

signature(object = "ANY")

It uses the plot from package graphics

signature(object = "mconfint")

Plot the 2D confidence region.


momentfit documentation built on Sept. 20, 2023, 3:01 a.m.