mse: Calculate the Mean Squared Error Between two Vectors

View source: R/agnostic_fh.R

mseR Documentation

Calculate the Mean Squared Error Between two Vectors

Description

Merely wanted to use such a function by name; nothing fancy

Usage

  mse(x,y)

Arguments

x

vector of values

y

vector of values

Value

A scalar: the MSE between x and y.

Source

Marten Thompson thom7058@umn.edu

Examples

  mse(seq(1:10), seq(10:1))

agfh documentation built on July 9, 2023, 6:44 p.m.