fix.na: Function removes all NA from distance matrix

View source: R/repairDM.R

fix.naR Documentation

Function removes all NA from distance matrix

Description

NA on diagonal replaced by 0 NA for (i,j) replaced by (j,i) if exist otherwise replaced by meand from existing number (or by 1 if they don't exist)

Usage

fix.na(m)

Arguments

m

Distance Matrix

Value

distance matrix without NA


maszdev/dist2location documentation built on June 11, 2025, 11:55 a.m.