Histograms of residuals or NPDE
res_hist(df, ..., x = pm_axis_res(), xs = defx())
wres_hist(df, ..., x = pm_axis_wres(), y = "density")
cwres_hist(df, ..., x = pm_axis_cwres())
cwresi_hist(df, x = pm_axis_cwresi(), ...)
npde_hist(df, ..., x = pm_axis("npde"))
data frame to plot.
passed to cont_hist()
character name for x-axis data.
see defx()
.
what to use for the y-axis on the histogram; can be
"count"or
"density"`.
A single plot.
df <- pmplots_data_obs()
cwres_hist(df)
#> `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.