plot_mixture_contour | R Documentation |
This function plots an estimated bivariate contour mixing distributions.
plot_mixture_contour(means, covs, weights, names)
means |
The class means. |
covs |
The class covariances. |
weights |
The class weights. |
names |
The covariate names. |
An object of class ggplot
.
means <- list(c(0,0),c(1,1)) covs <- list(diag(2),0.5*diag(2)) weights <- c(0.3,0.7) names <- c("A","B") RprobitB:::plot_mixture_contour(means, covs, weights, names)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.