flwAveragePred function

Flow Averaged Predictions

Flow Averaged Predictions

Compute flow[salinity] weighted predictions

flwAveragePred(pdat, pgam, normPct)

Arguments

  • pdat: prediction data set
  • pgam: gam model
  • normPct: vector of percentiles to use in weighting

Returns

data frame of flow[salinity] averaged predictions and standard errors