estQPPQ: Apply QPPQ for a particular target and index set

Description Usage Arguments Details Value

View source: R/estQPPQ.R

Description

The function estQPPQ uses the ranked index network defined by index.network to apply the nonlinear spatial interpolation using flow duration curves to predict streamflow time series at each target location.

Usage

1
2
estQPPQ(index.network, index.obs, index.empFDC, zero.val = NA, target.obs,
  target.empFDC, target.estFDC, pvals)

Arguments

index.network

A numeric vector of the streamgage IDs to be used as potential index sites.

index.obs

A zoo object of the observed streamflows for each index gage.

index.empFDC

A matrix of the empirical quantiles for each site in the index.network$index.

zero.val

(optional) A value to replace zeros. The deafult is NA.

target.obs

A zoo object of the observed streamflows for each target gage.

target.empFDC

A matrix of the empirical quantiles for each site in the index.network$target.

target.estFDC

A matrix of the estimated quantiles for each site in the index.network$target.

pvals

A vector of the p-values corresponding to the quantiles in index.empFDC, target.empFDC and target.estFDC.

Details

Lorem ipsum...

Value

As output, the function returns a list of the same length as index.network$target. Each element represents a unique target location. Each element contains a data.frame consisting of

date

The date of the row.

est

The estimated streamflow for each day.

indexflow

The index streamflow for each day.

index

The index ID used on each day.

index.extrap

A logical value indicating if the p-value of the index station had to be extrapolated beyond the limits of the index flow duration curve.

target.extrap

A logical value indicating if the streamflow at the target location had to be extrapolated beyond the limits of the target flow duration curve.

metric

The similarlity metric between the index and target. This depends on the metric using in the index.network; currently functional for nearest-neighbor and map-correlation.

obs

The observed streamflow at the target location on each day. Used for validation.

obs.pval

The observed p-value at the target location on each day. Used for validation.


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