| me | R Documentation | 
Calculates the mean error (ME) from observed and predicted values.
me(observed, predicted)
| observed | Numeric vector of observed values | 
| predicted | Numeric vector of predicted values. The length shall be the same as for observed. | 
ME = bias = mean(observed - predicted)
The mean error (ME) calculated from the observed and the predicted values.
o<-1:5
p<-c(2,2,4,3,5)
me(observed=o, predicted=p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.