BiDensPlot | R Documentation |
Generates eiether a perspective or a contour plot of a bivariate density.
BiDensPlot(func, xpts = c(-2, 2), ypts = c(-2, 2), npts = 50,
type = c("persp", "contour"), ...)
func |
|
xpts |
|
ypts |
|
npts |
|
type |
|
... |
|
Returns invisibly a list of (x, y, z)
triplet.
BiDensPlot(func = dmnorm, mu = c(0, 0), Sigma = equicorr(2, -0.7))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.