GOF_percent_bias {HyMETT}R Documentation

Calculates percent bias.

Description

Calculates percent bias between modeled (simulated) and observed values.

Usage

GOF_percent_bias(mod, obs, na.rm = TRUE)

Arguments

mod

'numeric' vector. Modeled or simulated values. Must be same length as obs.

obs

'numeric' vector. Observed or comparison values. Must be same length as mod.

na.rm

'boolean' TRUE or FALSE. Should NA values be removed before computing. If any NA values are present in mod or obs, the ith position from each will be removed before calculating. If NA values are present and na.rm = FALSE, then function will return NA. Default is TRUE.

Details

Values returned are in percent.

Value

Value of calculated percent bias as percent.

Examples

GOF_percent_bias(mod = example_mod$streamflow_cfs, obs = example_obs$streamflow_cfs)


[Package HyMETT version 1.1.2 Index]