View source: R/isometry_deviation.R
| summarize.isometry.deviation | R Documentation |
Computes the standard benchmark summary used to compare graph geodesic distances with reference geodesic distances: optimal scalar calibration, relative RMS error, relative absolute error quantiles, multiplicative distortion quantiles, and distance correlations.
summarize.isometry.deviation(
D.estimated,
D.true,
scale = TRUE,
true.tol = sqrt(.Machine$double.eps)
)
D.estimated |
Estimated distance matrix or |
D.true |
Ground-truth distance matrix or |
scale |
Logical scalar. If |
true.tol |
Non-negative tolerance. Pairs with true distance less than or equal to this value are excluded from relative metrics. |
A one-row data frame.
D <- as.matrix(dist(1:4))
summarize.isometry.deviation(1.1 * D, D)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.