as.dist.deldir | R Documentation |
Function casts a Delaunay triangulation from
deldir
(deldir package) to a
dist
object, with numeric values for distances
between neighbours and NA
for other distances.
## S3 method for class 'deldir'
as.dist(m, diag = FALSE, upper = FALSE)
m |
A |
diag |
logical value indicating whether the diagonal of the distance
matrix should be printed by |
upper |
logical value indicating whether the upper triangle of the
distance matrix should be printed by |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.