Description Usage Arguments Details Author(s) See Also
View source: R/plot.LogConcDEAD.R
plot
method for class "LogConcDEAD"
. Plots of various
types are available for 1 and 2d data. For dimension greater than 1,
plots of axisaligned marginal density estimates are available.
1 2 3 
x 
Object of class 
uselog 
Scalar 
type 
Plot type: 
addp 
Scalar 
drawlabels 
Scalar 
gridlen 
Integer scalar indicating the number of points at which the maximum likelihood estimator is evaluated in each dimension 
g 
(optional) a 
marg 
If non 
g.marg 
If 
main 
Title 
xlab 
xaxis label 
ylab 
yaxis label 
... 
Other arguments to be passed to the generic

The density estimate is evaluated on a grid of points using the
interplcd
function. If several plots are required, this
may be computed separately and passed to plot
using the
g
argument.
For two dimensional data, the default plot type is "ic"
,
corresponding to image
and contour
plots.
These may be obtained separately using plot type "i"
or "c"
respectively. Where available, the use of plot type "r"
is
recommended. This uses the rgl package
to produce a 3d plot that may be rotated by the user. The option
"p"
produces perspective plots.
For data of dimension at least 2, axisaligned marginals may be
plotted by setting the marg
argument. This integrates the
estimated density over the remaining dimensions. If several plots are
required, the estimate may be computed using the function
interpmarglcd
and passed using the argument
g.marg
.
Where relevant, the colors were obtained from the function
heat_hcl
in the package
colorspace. Thanks to
Achim Zeileis for this suggestion.
For examples, see mlelcd
.
Madeleine Cule
Robert B. Gramacy
Richard Samworth
Yining Chen
mlelcd
, interplcd
, interpmarglcd
, heat_hcl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.