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 SaemixData
plot(x, y, ...)# S3 method for SaemixSimData
plot(x, y, irep = -1, ...)
an SaemixData object or an SaemixSimData object
unused, present for compatibility with base plot function
additional arguments to be passed on to plot (titles, legends, ...)
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)