relative_error: Computes the relative error between the true and estimated...

View source: R/utils.R

relative_errorR Documentation

Computes the relative error between the true and estimated matrices

Description

Computes the relative error between the true and estimated matrices

Usage

relative_error(West, Wtrue)

Arguments

West

estimated matrix

Wtrue

true matrix

Examples

library(spectralGraphTopology)
X <- L(c(1, 0, 1))
relative_error(X, X)

spectralGraphTopology documentation built on March 18, 2022, 7:35 p.m.