relative_error {spectralGraphTopology} | R Documentation |
Computes the relative error between the true and estimated matrices
relative_error(West, Wtrue)
West |
estimated matrix |
Wtrue |
true matrix |
library(spectralGraphTopology)
X <- L(c(1, 0, 1))
relative_error(X, X)