View source: R/bootstrap_CIs.R
With this function you can perform a parametric or nonparametric
bootstrap for a function-on-scalar model fitted with pffr
.
Based on the results, confidence intervals (CIs) for smooth effects can be
calculated using link{calc_bootstrapCIs}
.
1 2 3 4 |
type |
One of |
B |
Number of bootstrap samples, defaults to 1000 |
formula |
See formula argument of |
data |
See data argument of |
model |
Function-on-scalar model fitted with |
param_yvar |
Name of response variable used in |
cores |
Number of cores to use for parallel processing. Possible for both Linux-based systems and Windows. |
param_simFun |
Specifies the simulation function to be used for
parametric bootstrapping. See |
param_yMinValue |
Minimum value to which the bootstrapped response values
are set using a parametric bootstrap. See |
log_file |
Optional filename of a log file where progress of parallel
processing should printed to. Defaults to console output (only on Linux-based
systems). Only used if |
... |
Further arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.