process_distance_matrix {topolow} | R Documentation |
Process distance matrix for convergence error calculations
Description
Helper function that processes elements of the distance matrix for calculating convergence error. Handles threshold indicators and NA values.
Usage
process_distance_matrix(reported_distance, distance)
Arguments
reported_distance |
Character or numeric. The reported distance value |
distance |
Numeric. The calculated distance to compare against |
Value
Numeric or NA. Returns processed distance if valid, NA otherwise
[Package topolow version 1.0.0 Index]