fitting | R Documentation |
fitting(obs, est, P = 1)
obs |
Observed data |
est |
Estimated data |
P |
Number of parameters |
r2: R-square [-]
r2_adj: An adjusted R-square [-]
d: Index of agreement[-]
p_value: p value
sse: Sum of square error
sst: Sum of square total
AIC: AIC
BIC: BIC
RMSE: Root Mean Square Error
RMSE_adj: adjusted Root Mean Square Error
NRMSE Normalised Root Mean Square Error
NRMSE_adj: adjusted Normalised Root Mean Square Error
E: Nash Sutcliffe Coefficient
b: coefficients of regression
AAE: average absolute error
ARE: average relative error
MBE: Mean Bias error
MPE: Mean Percentage error
file=system.file("extdata","sys","irrigation.txt",package="sebkc")
data=read.table(file,header=TRUE)
obs=data$ETo
est=data$ETc
P=4
mod=fitting(obs,est,P)
r2=mod$r2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.