setForBoot: Allows user to set window parameters for the WRTDS model...

Description Usage Arguments Value Examples

Description

Adds window parameters to INFO file in eList.

Usage

1
2
setForBoot(eList, caseSetUp, windowY = 7, windowQ = 2, windowS = 0.5,
  edgeAdjust = TRUE)

Arguments

eList

named list with at least the Daily, Sample, and INFO dataframes. Created from the EGRET package, after running modelEstimation.

caseSetUp

data frame returned from trendSetUp.

windowY

numeric specifying the half-window width in the time dimension, in units of years, default is 7.

windowQ

numeric specifying the half-window width in the discharge dimension, units are natural log units, default is 2.

windowS

numeric specifying the half-window with in the seasonal dimension, in units of years, default is 0.5.

edgeAdjust

logical specifying whether to use the modified method for calculating the windows at the edge of the record, default is TRUE.

Value

eList list with Daily,Sample, INFO data frames and surface matrix.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
eList <- EGRET::Choptank_eList

caseSetUp <- trendSetUp(eList,
  year1=1985, 
  year2=2005,
  nBoot = 50, 
  bootBreak = 39,
  blockLength = 200)

bootSetUp <- setForBoot(eList,caseSetUp)

EGRETci documentation built on April 13, 2021, 5:08 p.m.