Skip to contents

Calculates the root-mean-squared error between predicted and observed values.

Usage

magp2d_rmse(pred, actual)

Arguments

pred

Numeric vector of predictions.

actual

Numeric vector of observed values with the same length as pred.

Value

A single nonnegative numeric value.