cwres_panel | R Documentation |
Get a single graphic of basic CWRES
diagnostics (cwres_panel()
) or get
the component plots in a list that can be arranged by the user
(cwres_panel_list()
) . See cwres_covariate()
for plotting CWRES
versus covariates.
cwres_panel(
df,
xname = "value",
unit_time = "hours",
unit_tad = "hours",
xby_time = NULL,
xby_tad = NULL,
tag_levels = NULL
)
cwres_panel_list(
df,
xname = "value",
unit_time = "hours",
unit_tad = "hours",
xby_time = NULL,
xby_tad = NULL
)
df |
a data frame to plot. |
xname |
passed to |
unit_time |
passed to |
unit_tad |
passed to |
xby_time |
passed to |
xby_tad |
passed to |
tag_levels |
passed to |
cwres_panel()
returns a single graphic with the following panels:
CWRES
versus TIME
via cwres_time()
CWRES
versus TAD
via cwres_tad()
CWRES
versus PRED
via cwres_pred()
CWRES
histogram via cwres_hist()
CWRES
quantile-quantile plot via cwres_q()
cwres_panel_list()
returns a list of the individual plots that are
incorporated into the cwres_panel()
output. Each element of the list
is named for the plot in that position: time
, tad
, pred
, hist
q
. See Examples for how you can work with that list.
npde_panel()
, npde_covariate()
data <- pmplots_data_obs()
cwres_panel(data, tag_levels = "A")
l <- cwres_panel_list(data)
with(l, (q+hist) / pred)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.