nselog: Computes the Nash-Sutcfliff efficiency coefficient on the log...

Description Usage Arguments Value

View source: R/performance_metrics.R

Description

This function computes the Nash-Sutcliff efficiency coefficient using the nse() function on the streamflow values which are first log transformed using the log_transform()vfunction.

Usage

1
nselog(obs, sim, na.rm = TRUE, log_method = "inf.na")

Arguments

obs

numeric vector. Observed streamflow vector.

sim

numeric vector. Simulated streamflow vector.

na.rm

logical. Whether missing values should be ignored.

log_method

character string or numeric. See log_transform().

Value

Returns a float value between -Inf and 1 corresponding to the Nash-Sutcfliff efficiency coefficient computed on the log transofmed streamflow values.


IvanHeriver/hsa-R-package documentation built on Dec. 17, 2021, 11:32 p.m.