search for: observed_flow

Displaying 3 results from an estimated 3 matches for "observed_flow".

2012 Nov 19
6
loop to subtract arrays / error
Hi everyone, I am having trouble with creating a loop to subtract arrays. In R, this is what I have done: > Vobsr <- read.csv("Observed_Flow.csv", header = TRUE, sep =",") # see data > below > Vsimr <- read.csv("1000Samples_Vsim.csv", header = TRUE, sep =",") # see > data below > Vobsr <- as.matrix(Vobsr[,-1]) # remove column 1 from analysis thus Vobsr > is 101x1 double matrix (co...
2012 Nov 19
5
help on matrix column removal based on another matrix results
...2, sum) Yii <- (obs - mean(obs))^2 Yiis <- apply(Yii, 2, sum) NSEr <- 1 - (Xjjhs/Yiis) } NSEr} > Vsim <- read.csv("1000Samples_Vsim.csv", header = TRUE, sep =",") > Vsim <- as.matrix(Vsim[,-1]) # remove column 1 from analysis > Vobs <- read.csv("Observed_Flow.csv", header = TRUE, sep =",") > Vobs <- as.matrix(Vobs[,-1]) # remove column 1 from analysis > NSEr <- NSEr(Vobs,Vsim); > write.table(NSEr, "NSEr.csv", sep =",") > NSErr <- t(matrix(NSEr)) > ## select the behavioural simulations and dis...
2012 Nov 18
0
subtract multiple columns from single column for Nash Sutcliffe efficiency
Hi everyone, I am having trouble using my own data in the Nash-Sutcliffe efficiency (NSE) function. In R, this is what I have done: Vobsr <- read.csv("Observed_Flow.csv", header = TRUE, sep =",") # see data below Vsimr <- read.csv("1000Samples_Vsim.csv", header = TRUE, sep =",") # see data below Vobsr <- as.matrix(Vobsr[,-1]) # remove column 1 from analysis thus Vobsr is 101x1 double matrix (column 1 is date informatio...