as.dist.deldir: Cast deldir Object to Distances Between Neighbours

as.dist.deldirR Documentation

Cast deldir Object to Distances Between Neighbours

Description

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.

Usage

## S3 method for class 'deldir'
as.dist(m, diag = FALSE, upper = FALSE)

Arguments

m

A deldir result.

diag

logical value indicating whether the diagonal of the distance matrix should be printed by print.dist.

upper

logical value indicating whether the upper triangle of the distance matrix should be printed by print.dist.


jarioksa/natto documentation built on March 28, 2024, 12:45 a.m.