dv_pred.RdPlot DV versus predicted values
dv_pred(df, x = pm_axis_pred(), y = pm_axis_dv(), yname = "value", xname = "value", xs = list(), ys = list(), loglog = FALSE, scales = c("fixed", "free"), ...) dv_ipred(df, x = pm_axis_ipred(), ...) dv_preds(df, ...)
| df | data frame to plot |
|---|---|
| x | character name for x-axis data |
| y | character name for y-axis data |
| yname | used to form y-axis label |
| xname | used to form x-axis label |
| xs | see |
| ys | see |
| loglog | if |
| scales | if |
| ... |
A single plot.
Since this function creates a scatter plot,
both the x and y columns must
be numeric.
dv_preds returns a list of two plots, with
the result of dv_pred in the first position
and the result of dv_ipred in the
second position. In this case, ... are
passed to both functions.
dv_ipred(df, yname="MyDrug (ng/mL)")dv_preds(df, yname = "MyDrug (ng/mL)")#> [[1]]#> #> [[2]]#>