Learn R Programming

LogConcDEAD (version 1.6-10)

interplcd: Evaluate the log-concave maximum likelihood estimator of 2-d data on a grid for plotting

Description

Evaluates the logarithm of the log-concave maximum likelihood estimator on a grid for 2-d data, for use in plot.LogConcDEAD.

Usage

interplcd(lcd, gridlen=100 )

Value

x

Vector of \(x\)-values of the grid

y

Vector of \(y\)-values of the grid

z

A matrix of the values of the log of the maximum likelihood estimator at points on the grid

Arguments

lcd

Object of class "LogConcDEAD" (typically output from mlelcd)

gridlen

A scalar indicating the size of the grid

Author

Madeleine Cule

Robert Gramacy

Richard Samworth

Details

Interpolates the MLE over a grid.

The output is of a form readily usable by plot.LogConcDEAD, image, contour, etc, as illustrated in the examples below.

For examples, please see mlelcd.

See Also

mlelcd