run_bootstraps: Run bootstrapping routine

View source: R/run_bootstraps.R

run_bootstrapsR Documentation

Run bootstrapping routine

Description

Depending on input arguments, this function will run a complete bootstrapping routine either in series or parallel.

Usage

run_bootstraps(eList, type_results, jitterOn, V, blockLength, startSeed, nBoot,
  type, run.parallel)

Arguments

eList

named list with at least the Daily, Sample, and INFO dataframes

type_results

data frame returned from either runGroups or runPairs depending on context.

jitterOn

logical, if TRUE, adds "jitter" to the data in an attempt to avoid some numerical problems. Default = FALSE. See Details below.

V

numeric a multiplier for addition of jitter to the data, default = 0.2.

blockLength

integer size of subset, expressed in days. 200 days has been found to be a good choice.

startSeed

sets the random seed value. This is used to make repeatable output.

nBoot

the maximum number of bootstrap replicates to be used, typically 100

type

Character can be "pair" or "group".

run.parallel

logical to run bootstrapping in parallel or not

Details

When in parallel, if there are unsuccessful runs, they will be made up in series after the parallel runs are done.#'


EGRETci documentation built on June 8, 2025, 11:08 a.m.