plot.MCPMod {MCPMod} | R Documentation |
Plot MCPMod model fits
Description
The function plots the model(s) used for dose estimation.
Usage
## S3 method for class 'MCPMod'
plot(x, complData = FALSE, CI = FALSE, clinRel = FALSE, doseEst = FALSE,
gamma = NULL, models = "all", nrDoseGam = 1,
colors = c("black", "blue", "black", "gray", "blue"),
uGrad = NULL, ...)
Arguments
x |
A MCPMod object. |
complData |
Logical indicating whether complete data set or group means should be plotted. |
CI |
Logical indicating whether a confidence interval should be plotted along the model fit(s). |
clinRel |
Logical indicating, whether clinical relevance threshold should be included in plot. |
doseEst |
Logical determining whether dose estimate should be included in plot. |
gamma |
Numeric giving the value for the 1-2*gamma pointwise CI around
the predicted mean. if equal to NULL the value
determined in the MCPMod call is used. In case
a vector of gamma values was used |
models |
Character vector determining, which of the used models should be plotted (only available if model averaging was used) |
nrDoseGam |
In case a vector is specified for |
colors |
Vector of length 5 with the names of the colors for: predictions, CI, data, clinical relevance threshold, dose estimator |
uGrad |
If a user defined model has been used for dose estimation, the gradient function needs to be handed over via uGrad. |
... |
Additional arguments to xyplot. |