plot.csmooth_em.RdVisualization for a csmooth_em object.
plot_type="scatterplot": calls plot_EM_embedding() (same behavior as smooth_em).
plot_type="elbo": plots ELBO and penalized observed-data objective traces.
plot_type="mu": plots only the component means (with arrows for 2D).
A csmooth_em object.
Numeric matrix (n x d). Required when plot_type="scatterplot" unless stored in x$data.
One of "scatterplot", "elbo", "mu".
Integer vector of length 1 or 2. Used for "scatterplot" and "mu".
Logical; if TRUE and plot_type="elbo", draw ELBO and objective in two panels.
Logical; not passed to graphics (prevents "not a graphical parameter" warnings).
Passed to the underlying plotting functions.
Invisibly returns x.