Description Usage Arguments Value
This is mainly used internally by pspline.estimate.timeseries
, but
it's useful if you want to calculate summary statistics of simulation results other
than the ones returned by pspline.estimate.timeseries
.
1 | pspline.sample.timeseries(model, predictors, outcome, samples = 100)
|
model |
model returned by |
outcome |
time series outcome generator function; see |
samples |
number of simulations to run |
time |
time values at which the model will be evaluated during simulation |
matrix with one row for each simulation; each row contains the
time series calculated by outcome
for the corresponding simulation run
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.