plot.SaemixData | R Documentation |
This function will plot a longitudinal dataframe contained in an SaemixData object. By default it produces a spaghetti plot, but arguments can be passed on to modify this behaviour.
## S3 method for class 'SaemixData'
plot(x, y, ...)
## S3 method for class 'SaemixSimData'
plot(x, y, irep = -1, prediction = FALSE, ...)
x |
an SaemixData object or an SaemixSimData object |
y |
unused, present for compatibility with base plot function |
... |
additional arguments to be passed on to plot (titles, legends, ...) |
irep |
which replicate datasets to use in the mirror plot (defaults to -1, causing a random simulated dataset to be sampled from the nsim simulated datasets) |
prediction |
if TRUE, plot the predictions without residual variability (ypred instead of ysim). Defaults to FALSE. |
this function can also be used to visualise the predictions for simulated values of the individual parameters, using the ypred element instead of the ysim element normally used here
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.