Learn R Programming

ECLRMC (version 1.0)

NRMS: Normalized Root Mean Square (NRMS) value of two matrices for evaluating their similarity (lower is better)

Description

Normalized Root Mean Square (NRMS) value of two matrices for evaluating their similarity (lower is better)

Usage

NRMS(imputed, original)

Arguments

imputed

An m by n matrix

original

An m by n matrix

Value

Returns the NRMS value of the given matrices

Examples

Run this code
# NOT RUN {
x = matrix(c(5.1, 4.9, NA, 4.6, 3.5, 3.0, 3.2, 3.1, 1.4, NA, 1.3, 1.5), byrow = TRUE, ncol=4)
a = ECLRMC(x, beta = 0.2)
b = LRMC(x)
NRMS(a,b)
# }

Run the code above in your browser using DataLab