res_hist: Histograms of residuals or NPDE

View source: R/res_hist.R

res_histR Documentation

Histograms of residuals or NPDE

Description

Histograms of residuals or NPDE

Usage

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"))

Arguments

df

data frame to plot.

...

passed to cont_hist()

x

character name for x-axis data.

xs

see defx().

y

what to use for the y-axis on the histogram; can be "count"or"density"'.

Value

A single plot.

Examples

df <- pmplots_data_obs()

cwres_hist(df)


metrumresearchgroup/pmplots documentation built on Oct. 15, 2024, noon