interplcd {LogConcDEAD}R Documentation

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

Description

Uses the akima package to evaluate 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, span=0.5, ...)
lcd.interp(lcd, gridlen=100, span=0.5, ...) 

Arguments

lcd Object of class "LogConcDEAD" (typically output from mlelcd)
gridlen A scalar indicating the size of the grid
span Scalar parameter needed by interp (see interp for more details)
... Other arguments to be passed to interp

Details

Uses the akima package's interp function to evaluate the log-concave maximum likelihood estimator on a grid covering the span of the data.

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

For examples, please see mlelcd.

lcd.interp is deprecated, but retained for compatibility with previous versions.

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

Note

Needs the akima package.

Author(s)

Madeleine Cule mlc40@cam.ac.uk

Robert Gramacy

Richard Samworth

See Also

interp , mlelcd


[Package LogConcDEAD version 1.3-3 Index]