Learn R Programming

PDFEstimator (version 4.5)

plot3d: Plot three-dimensional probability density estimate

Description

The plot method for three-dimensional pdfEstimator objects. Plots two-dimensional cross-sectional slices.

Usage

plot3d(x, xs = c(0), ys = c(0), zs = NULL, xlab = "X1", ylab = "X2", zlab = "X3")

Value

No return value, called for side effects

Arguments

x

an "estimatePDFmv" object

xlab

x-axis label for pdf

ylab

y-axis label for pdf

zlab

z-axis label for pdf

xs, ys, zs

Vectors or matrices. Vectors specify the positions in x, y or z where the slices (planes) are to be drawn.

Author

Jenny Farmer, Donald Jacobs

References

Farmer, J. and D. Jacobs (2018). "High throughput nonparametric probability density estimation." PLoS One 13(5): e0196937.