Skip to content

Commit c586aeb

Browse files
committedAug 5, 2024·
fix for eva
1 parent c116cea commit c586aeb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎R/eva.R

+3-2
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,16 @@ eva <- function(mo, ob, rname = station, table = NULL,
120120
RESULT[,] = NA
121121
RESULT$n = 0
122122
row.names(RESULT) <- rname
123-
return(RESULT)
123+
return(rbind(table,RESULT))
124+
return(rbind(table,RESULT))
124125
}
125126
if(!station %in% names(mo)){
126127
cat(station,'not found in model input\n')
127128
RESULT <- eval_function((1:19)/10,(1:19)/10, ...)
128129
RESULT[,] = NA
129130
RESULT$n = 0
130131
row.names(RESULT) <- rname
131-
return(RESULT)
132+
return(rbind(table,RESULT))
132133
}
133134
}
134135

0 commit comments

Comments
 (0)
Please sign in to comment.