fix.na | R Documentation |
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)
fix.na(m)
m |
Distance Matrix |
distance matrix without NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.