
Plot observed and fitted compositions
plot_composition.RdPlot observed and fitted compositions
Value
A ggplot with observed points and a fitted line at actual bin midpoints. Horizontal observed and fitted segments show the bin extents. Removed and zero-size rows are excluded. Density divides both observed proportions and fitted probabilities by bin width.
See also
Other assessment diagnostics:
opal_diagnose(),
opal_osa(),
plot_osa_residuals(),
plot_osa_sdnr(),
plot_prior_posterior()