Description Usage Arguments Value Functions Examples
Utility function to plot the results of the BFEM algorithm. The S3 plot function is a wrapper function over the 3 other functions
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
x |
The results of |
type |
The plot type:
|
... |
Additional parameter to pass to corxponding functions: |
alpha_levels |
A vector giving the desired Gaussian ellipses level set. Default to 0.95. |
plot.dims |
The dimension to be plotted. Default to the first two dimensions. |
show.ellipses |
Should Gaussian ellipses be plotted. Default to TRUE |
show.uncertainty |
Should uncertainty be plotted. A point is considered uncertain if its posterior probability of membership is peaked toward 2 or more clusters. Graphically, it can be displayed with a bigger point size depending on the uncertainty level, bigger points being more uncertain. |
size |
The point size. |
cex.uncertainty |
The multiplicative factor for the basic point size controlling the size of uncertain points. |
crit |
Used to specify which criterion should be plotted. Possible values are "aic", "bic" and 'icl. The default is the criterion used in the algorithm. |
a ggplot2 plot object
plot_subspace
: Plot Y projected on the 'plot.dims' dimensions of the latent space
plot_bound
: plot the variational bound evolution
plot_crit
: Plot the criterion xult
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.