PCMPlotGaussianDensityGrid2D | R Documentation |
A 2D Gaussian distribution density grid in the form of a ggplot object
PCMPlotGaussianDensityGrid2D( mu, Sigma, xlim, ylim, xNumPoints = 100, yNumPoints = 100, ... )
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 |
a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.