RNWM_Stats: RNWM_Stats (Estimate all the model evaluation statistics)

Description Usage Arguments Value Examples

View source: R/RNWM_Stats.R

Description

Master function to estimate all the model evaluation statistics in 'RNWMStat' package. User should supply a dataframe of observation and model streamflow. Use column names 'mod' for model and 'obs' for observation.

Usage

1
RNWM_Stats(dataFrame,bf_method='Lyne-Nathan',qlimit=0,cor_method='pearson',cor_use='everything',na.rm=T)

Arguments

dataFrame

A dataframe of observation and model streamflow. Use column names 'mod' for model and 'obs' for observation

bf_method

Baseflow separation methods (e.g., "Duncan" or "Lyne-Nathan" or "Eckhardt")

qlimit

Minimum quickflow threshold. The StormEvents() function only consider events higher than this threshold while counting events

cor_method

a character string indicating which correlation coefficient (or covariance) is to be computed. One of "pearson" (default), "kendall", or "spearman": can be abbreviated.

cor_use

an optional character string giving a method for computing covariances in the presence of missing values. This must be (an abbreviation of) one of the strings "everything", "all.obs", "complete.obs", "na.or.complete", or "pairwise.complete.obs".

Value

Retun a list of all RNWMStat statistics.

Examples

1
2
3
dataFrame<-data.frame(mod,obs)

nwm_validation_stats<-RNWM_Stats(dataFrame,bf_method='Lyne-Nathan',qlimit=0,cor_method='pearson',cor_use='everything',na.rm=T)

NCAR/RNWMStat documentation built on March 6, 2021, 3:33 a.m.