Bootstrapped CF mixin constructor
cf_boot(.cf = cf(), boot.R, boot.l, seed, sim, endcorr, cf.tsboot,
icf.tsboot = NULL, resampling_method)
cf
object to extend.
Integer, number of bootstrap samples used.
Integer, block length in the time-series bootstrap process.
Integer, random number generator seed used in bootstrap.
Character, sim
argument of tsboot.
Boolean, endcorr
argumetn of tsboot.
List, result from the tsboot function for the real part.
List, result from the tsboot function for the imaginay part.
Character, either 'bootstrap' or 'jackknife'
returns the input object of class cf
with the bootstrap mixin added
The following fields will also be made available:
cf0
: Numeric vector, mean value of original measurements, convenience copy of cf.tsboot$t0
.
tsboot.se
: Numeric vector, standard deviation over bootstrap samples.
boot.samples
: Logical, indicating whether there are bootstrap samples available. This is deprecated and instead the presence of bootstrap samples should be queried with inherits(cf, 'cf_boot')
.
error_fn
: Function, takes a vector of samples and computes the error. In the bootstrap case this is just the sd
function. Use this function instead of a sd
in order to make the code compatible with jackknife samples.
Other cf constructors:
cf_meta()
,
cf_orig()
,
cf_principal_correlator()
,
cf_shifted()
,
cf_smeared()
,
cf_subtracted()
,
cf_weighted()
,
cf()