Learn R Programming

EGRETci (version 1.0.0)

trendSetUp: Interactive setup for running wBT, the WRTDS Bootstrap Test

Description

Walks user through the set-up for the WRTDS Bootstrap Test. Establishes start and end year for the test period. Sets the minimum number of bootstrap replicates to be run, the maximum number of bootstrap replicates to be run, and the block length (in days) for the block bootstrapping.

Usage

trendSetUp(eList, ...)

Arguments

eList
named list with at least the Daily, Sample, and INFO dataframes. Created from the EGRET package, after running modelEstimation.
...
additional arguments to bring in to reduce interactive options (year1, year2, nBoot, bootBreak, blockLength)

Value

  • caseSetUp data frame with columns year1, yearData1, year2, yearData2, numSamples, nBoot, bootBreak, blockLength, confStop. These correspond to: ll{ Column Name Manuscript Variable year1 $y_s$ year2 $y_e$ nBoot $M_max$ bootBreak $M_min$ blockLength $B$ }

See Also

setForBoot, wBT

Examples

Run this code
library(EGRET)
eList <- Choptank_eList
# Completely interactive:
caseSetUp <- trendSetUp(eList)
# Semi-interactive:
caseSetUp <- trendSetUp(eList, nBoot=100, blockLength=200)

Run the code above in your browser using DataLab