rmse: Root Mean Square Error Calculation

Description Usage Arguments Value Examples

View source: R/error_functions.R

Description

takes difference between Original data and Predicted data as input

Usage

1
rmse(obs, pred)

Arguments

obs

numeric vector of original data

pred

numeric vector of predicted data

Value

rmseVal as Root Mean Square Error

Examples

1
2
3
4
5
## Generate 100 random numbers within some limits
x <- sample(1:7, 100, replace = TRUE)
y <- sample(1:4, 100, replace = TRUE)
z <- rmse(x, y)
z

fawda123/imputeTestbench documentation built on Dec. 7, 2017, 3:40 a.m.