plot {melt}R Documentation

Plot methods

Description

Provides plot methods for objects.

Usage

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

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

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

Arguments

x

An object to be plotted.

y

Not used.

...

Further graphical parameters (see par).

Value

No return value, called for side effects.

Methods (by class)

See Also

ConfregEL, EL, ELD, confreg(), eld()

Examples

## Model
data("mtcars")
fit <- el_lm(hp ~ wt, data = mtcars)

## Confidence region
out1 <- confreg(fit, npoints = 500)
plot(out1)

## Empirical likelihood displacement
out2 <- eld(fit)
plot(out2)

## A shortcut to `ELD`
plot(fit)

[Package melt version 1.11.4 Index]