Description Usage Arguments Value
View source: R/performance_metrics.R
This function compute the compute the coefficient of determination using the cor() function between simulated and observed data
1 |
obs |
numeric vector. Observed streamflow vector. |
sim |
numeric vector. Simulated streamflow vector. |
na.rm |
logical. Whether missing values should be ignored. |
method |
character. see cor() function. |
Returns a float value corresponding to the coefficient of determination.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.