Description Usage Arguments Value
View source: R/bootstrap_CIs.R
This function can be used to draw a parametric bootstrap sample from a
function-on-scalar model fitted with pffr
. Per default,
new observations are sampled using simulate
. If the
distribution family used is not supported by simulate
, one can also
define and pass an own function as sim_fun
. One example for this is
simulate_gamma
, which supports simulation from a
Gamma distribution and can be called using sim_fun = "gamma"
.
1 | simulate_pffr(model, sim_fun = "simulate", y_minValue = NULL)
|
model |
Function-on-scalar model fitted with |
sim_fun |
Function that should be used to draw the parametric bootstrap
sample based on |
y_minValue |
Optional argument. If specified, possible bootstrapped response
values smaller than |
Matrix of reponse values with one row per observation and one column per functional index (e.g. time point).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.