Description Usage Arguments Value Examples
View source: R/ctPostPredict.R
Samples data according to the ctsemFit object, computes quantiles over time based on model fit, plots these against original data.
1 2 3 4 5 6 7 8 9 10 11 |
fit |
object of class ctsemFit as returned from |
timestep |
positive value denoting the time interval to use for sampling. |
n.subjects |
Number of subjects worth of data to sample. |
probs |
Vector of values between 0 and 1 denoting quantiles to generate. For plotting, vector should be of length 3 and values should be rising. |
plot |
Whether to plot or return the generated data. |
ctPlotArrayArgs |
additional arguments to pass to |
indPlotArgs |
list of parameters to pass to ctIndplot, for plotting original data. Only used if plot=TRUE. |
mfrow |
2 dimensional integer vector defining number of rows and columns of plots,
as per the mfrow argument to |
Either nothing (if plot=TRUE) or an array containing generated data over quantiles.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.