Creates an object of class "Dtable" representing a set of points with weights and labels and the distances between them.. This is a generic method.
as.Dtable(X, …)
# S3 method for ppp
as.Dtable(X, …)
# S3 method for data.frame
as.Dtable(X, …)Data to be converted into a "Dtable".
Extra arguments.
An object of class "Dtable".
This is a generic method, implemented for ppp and data.frame.
Data is first converted to a (wmppp.object). Then, the distance matrix between points is calculated and the marks are kept.