RMSE: RMSE

View source: R/GOF.R

RMSER 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"])

mcalgaro93/benchdamic documentation built on Nov. 23, 2024, 5:06 p.m.