plot_all() plots every view that an object of the package has, and returns
the plots as one list. Printing the list shows each plot in turn.
Value
A latents_plots list of ggplot objects, named by view. Printing
it draws every plot; in an interactive session R waits for a key press
before each new plot.
Errors: latents_not_a_fit when x is not a fit, grid or other result
of the package, for example a data frame; latents_nothing_to_plot
when none of the object's views can be drawn;
latents_missing_package when ggplot2 is not installed.
Details
Which plots the list holds depends on the object. The names of the list are the names of the views:
a profile, class or transition fit of
lpa(),lca(),multilpa(),multilca()orlta()(classmultilpa_transitions): the views its data allow amongprofiles,bars,heatmap,raincloud,parallel,pairs,responses,probabilities,sequences,transitions,sizes,entropy,posteriorsandavepp. A fit with two or more group classes addsgroup_sizes,group_posteriors,group_entropyandgroup_avepp;a fit of another family: the views of its own
plot(), then the four classification viewssizes,posteriors,entropyandavepp. A mixture regression hasfittedandcoefficients; one that classifies persons alsotrajectories,individualsandclassification; a growth mixture has those three,coefficientsandrandom; a general transition fittransitions,profilesandsequences; an additive fitmeans,variancesandintercepts; a cross-level fitprofiles,group_meansandcomposition. When such a fit classifies at two levels, each classification view is drawn twice, assizes_individuals,sizes_groupsand so on;pooled imputations: the pooled estimates of each level the pooled table has, among
profile,groupandmeasurement;an enumeration grid:
criteria(every criterion, asplot_criteria()),entropy,avepp,deltas,heatmap,smallest,trustandtree. A grid of group-class families hascriteria,entropy,aveppandtree. A grid with several trees has one plot per tree, namedtree_and the tree's name;a comparison, a bootstrap test, a bootstrap table of
parameter_inference()or a sensitivity analysis: its one plot, namedplot;a
diagnostics()result: the plots of the fit it checked.
Only the views the object can draw are returned. A view that was tried
and refused is left out and named in a message
(Not drawn for this object: ...).
See also
overview() prints the summary and the checks as well; the
functions named after single views, such as plot_profiles(),
plot_sizes() and plot_criteria().











