BiDensPlot {QRM} | R Documentation |
Bivariate Density Plot
Description
Generates eiether a perspective or a contour plot of a bivariate density.
Usage
BiDensPlot(func, xpts = c(-2, 2), ypts = c(-2, 2), npts = 50,
type = c("persp", "contour"), ...)
Arguments
func |
|
xpts |
|
ypts |
|
npts |
|
type |
|
... |
|
Value
Returns invisibly a list of (x, y, z)
triplet.
Examples
BiDensPlot(func = dmnorm, mu = c(0, 0), Sigma = equicorr(2, -0.7))
[Package QRM version 0.4-31 Index]