| plot_mrgsims | R Documentation |
Generate a quick plot of simulated data
## S4 method for signature 'mrgsims,missing'
plot(x, limit = 16, ...)
## S4 method for signature 'mrgsims,formula'
plot(
x,
y,
limit = 16,
show.grid = TRUE,
outer = TRUE,
type = "l",
lwd = 2,
ylab = "value",
groups = ID,
scales = list(y = list(relation = "free")),
fixy = NULL,
logy = NULL,
logbr = 0,
equispaced.log = FALSE,
...
)
## S4 method for signature 'mrgsims,character'
plot(x, y, ...)
x |
mrgsims object. |
limit |
limit the the number of panels to create. |
... |
other arguments passed to |
y |
formula used for plotting. |
show.grid |
logical indicating whether or not to draw |
outer |
passed to |
type |
passed to |
lwd |
passed to |
ylab |
passed to |
groups |
passed to |
scales |
passed to |
fixy |
make the y-axis scale the same for all variables; ignored if
|
logy |
plot the y variables on log scale; ignored if |
logbr |
log scale breaks indicator; use |
equispaced.log |
see |
mod <- mrgsolve::house(end=48, delta=0.2) %>% init(GUT=1000)
out <- mrgsim(mod)
plot(out)
plot(out, subset=time <= 24)
plot(out, GUT + CP ~ .)
plot(out, CP + RESP ~ time, col = "black", fixy = TRUE, lty = 2)
## Not run:
plot(out, "CP RESP, GUT")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.