calculate_stat_rmse: Function to return the root mean square error between two...

Description Usage Arguments Value Examples

Description

This function accepts two data frames containing daily data series and returns the root mean square error

Usage

1
calculate_stat_rmse(timeseries1, timeseries2, na.rm = TRUE)

Arguments

timeseries1

data frame containing value data for one of the chosen timeseries

timeseries2

data frame continaing value data for the second chosen timeseries

na.rm

Boolean defaults to TRUE.

Value

rmse root mean square error value between the two timeseries

Examples

1
2
3
timeseries1<-obs_data$discharge
timeseries2<-mod_data$discharge
calculate_stat_rmse(timeseries1,timeseries2)

USGS-R/NWCCompare documentation built on May 9, 2019, 6:10 p.m.