compile.vars: Compile models across quantiles and regimes

Description Usage Arguments Details Value

View source: R/compile.vars.R

Description

The function compile.vars takes output from compute.leaps.for and compiles the candidate models across specified quantiles and regimes.

Usage

1
2
3
4
5
compile.vars(leaps_list, nvmax, n, regimes = list(lowflow = c("0.0002",
  "0.0005", "0.001", "0.002", "0.005", "0.01", "0.02", "0.05", "0.1"), medflow =
  c("0.2", "0.25", "0.3", "0.4", "0.5", "0.6", "0.7", "0.75", "0.8", "0.9"),
  highflow = c("0.95", "0.98", "0.99", "0.995", "0.998", "0.999", "0.9995",
  "0.9998")), unfilled_FDCs = NA)

Arguments

leaps_list

Output from compute.leaps.for

nvmax

The maximum number of variables that will be considered in a regression. Prior to 9/2016, the default was 6.

n

The maximum number of models subsetted. Prior to 9/2016, the default was 20.

regimes

(optional) A list of two or more elements (names(regimes) = c('lowflow','medflow','highflow')), where each element is a character vector indicating the frequencies of each quantile. The default is list(lowflow = c("0.0002","0.0005","0.001","0.002","0.005","0.01","0.02", "0.05","0.1"),medflow = c("0.2", "0.25", "0.3", "0.4", "0.5","0.6", "0.7", "0.75", "0.8", "0.9"),highflow = c("0.95", "0.98", "0.99", "0.995", "0.998", "0.999", "0.9995", "0.9998")).

Details

Lorem ipsum...

Value

A list ranking all models across the number of variables for each regime. Higher ranks are better.


wfarmer-usgs/PUBAD documentation built on May 4, 2019, 5:21 a.m.