PCMPlotGaussianDensityGrid2D {PCMBase} | R Documentation |
A 2D Gaussian distribution density grid in the form of a ggplot object
Description
A 2D Gaussian distribution density grid in the form of a ggplot object
Usage
PCMPlotGaussianDensityGrid2D(
mu,
Sigma,
xlim,
ylim,
xNumPoints = 100,
yNumPoints = 100,
...
)
Arguments
mu |
numerical mean vector of length 2 |
Sigma |
numerical 2 x 2 covariance matrix |
xlim , ylim |
numerical vectors of length 2 |
xNumPoints , yNumPoints |
integers denoting how many points should the grid contain for each axis. |
... |
additional arguments passed to ggplot |
Value
a ggplot object
[Package PCMBase version 1.2.14 Index]