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 mapbayests object.

...

additional arguments (passed to augment.mapbayests)

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:

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]