fluxBiasStat: Compute the flux bias statistic: (mean of estimated flux -...

View source: R/fluxBiasStat.R

fluxBiasStatR Documentation

Compute the flux bias statistic: (mean of estimated flux - mean of observed flux) / mean of estimated flux

Description

Computes three versions of the flux bias: The first where all censored values are set to their miniumum. The second where all censored values are set to their maximum. The third which is the average of the other two. In practice there is rarely a noticable difference among them.

Usage

fluxBiasStat(localSample)

Arguments

localSample

data frame that contains the concentration data, default name is Sample

Value

fluxBias a vector of three numerical values, a lower bound, upper bound and an average estimate of the ratio of (mean estimated flux - mean observed flux) / mean estimated flux. Typically one should use fluxBias[3]

Examples

eList <- Choptank_eList
Sample <- getSample(eList)
fluxBias <- fluxBiasStat(Sample) 

USGS-R/EGRET documentation built on Nov. 20, 2024, 7:45 p.m.