There are two ways to use this function. You can either supply a data set for which a multivariate normal ellipse will be drawn or you can supply the mean vector, covariance matrix and number of dimensions yourself.
1 2 3 |
data |
data frame or matrix |
npoints |
number of points to sample |
cl |
proportion of density contained within ellipse |
mean |
mean vector |
cov |
variance-covariance matrix |
df |
degrees of freedom used for calculating F statistic |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.