Either 'all', to take the average over all subjects, or a vector of integers denoting which
subjects.
times
Numeric vector of positive values, discrete time parameters will be calculated for each.
quantiles
Which quantiles to return. If plotting, specify 3 quantiles,
the 2nd will be plotted as a line with 1 and 3 as uncertainty bounds.
nsamples
Number of samples from the stanfit to use for plotting. Higher values will
increase smoothness / accuracy, at cost of plotting speed. Values greater than the total
number of samples will be set to total samples.
plot
Logical. If TRUE, plots output using ctStanDiscreteParsPlot
instead of returning output.