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