cal_rmse: RMSE calculator function

View source: R/cal_rmse.R

cal_rmseR Documentation

RMSE calculator function

Description

RMSE calculator function

Usage

cal_rmse(predicted, actual)

Arguments

predicted

predicted a numeric vector representing the values

actual

actual the numeric vector representing the actual values from data

Value

an int value indicating the RMSE

Examples

x <- seq(-10, 10, by = .1)
y <- dnorm(x, mean = 2.5, sd = 0.5)
cal_rmse(x,y)

DSCI-310/DSCI-310-Group-6-Package documentation built on April 21, 2022, 3:55 a.m.