Learn R Programming

EGRET (version 3.0.9)

fluxBiasStat: 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)

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]

Arguments

localSample

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

Examples

Run this code
eList <- Choptank_eList
Sample <- getSample(eList)
fluxBias <- fluxBiasStat(Sample) 

Run the code above in your browser using DataLab