plot.mapbayests | R Documentation |
Plot predictions from mapbayests object
## S3 method for class 'mapbayests'
plot(x, ..., PREDICTION = c("IPRED", "PRED"))
x |
A |
... |
additional arguments (passed to |
PREDICTION |
plot either "IPRED", "PRED" or both. |
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 regular ggplot2
object.
a ggplot
object.
est <- mapbayest(exmodel(ID = 1))
plot(est, end = 48) +
ggplot2::labs(title = "Awesome prediction")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.