plot.mapbayests {mapbayr} | R Documentation |
Plot predictions from mapbayests object
Description
Plot predictions from mapbayests object
Usage
## S3 method for class 'mapbayests'
plot(x, ..., PREDICTION = c("IPRED", "PRED"))
Arguments
x |
A |
... |
additional arguments (passed to |
PREDICTION |
plot either "IPRED", "PRED" or both. |
Details
Use this function to plot the results of the estimations, in the form of concentration vs time profiles for every patient of the data set. For additional modifications, you can:
see
augment.mapbayests
to modify the simulation output.add extra
+function(...)
in order to modify the plot as a regularggplot2
object.
Value
a ggplot
object.
Examples
est <- mapbayest(exmodel(ID = 1))
plot(est, end = 48) +
ggplot2::labs(title = "Awesome prediction")
[Package mapbayr version 0.10.0 Index]