Learn R Programming

dbmss (version 2.3-0)

as.Dtable: Converts data to class Dtable

Description

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.

Usage

as.Dtable(X, ...) "as.Dtable"(X, ...) "as.Dtable"(X, ...)

Arguments

X
Data to be converted into a "Dtable".
...
Extra arguments.

Value

An object of class "Dtable".

Details

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.

See Also

as.wmppp