RMSE {benchdamic} | R Documentation

## RMSE

### Description

Computes the Root Mean Square Error (RMSE) from a vector of differences.

### Usage

    RMSE(differences)

### Arguments

`differences` | a vector of differences.

### Value

RMSE value

### See Also

`prepareObserved` and `meanDifferences`.

### Examples

    # Generate the data.frame of Mean Differences and Zero Probability Difference
    MD_df <- data.frame(MD = rpois(10, 5), ZPD = runif(10, -1, 1))

    # Calculate RMSE for MD and ZPD values
    RMSE(MD_df[, "MD"])
    RMSE(MD_df[, "ZPD"])

[Package benchdamic version 1.0.0 Index]