rmse | R Documentation |

This function computes the root mean square error (RMSE) of the two vectors
`obs`

and `sim`

. `rel = FALSE`

returns the absolute RMSE,
`rel = TRUE`

the relative one. If `na.rm`

is `TRUE`

, missing
values are omitted before the computation proceeds.

rmse(obs, sim, rel = F, na.rm = T)

`obs` |
a numeric vector containing observed values. |

`sim` |
a numeric vector containing simulated values. |

`rel` |
logical. If |

`na.rm` |
logical. Should missing values be removed? |

Zacharias Steinmetz

rmse(c(0.12,0.59,NA), c(0.15,0.63,1.2))

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.