as.wmppp {dbmss}R Documentation

Converts data to class wmppp

Description

Creates a Weighted, Marked, Planar Point Pattern, i.e. an object of class "wmppp" representing a two-dimensional point pattern with weights and labels. This is a generic method.

Usage

as.wmppp(X, ...)
  ## S3 method for class 'ppp'
as.wmppp(X, ...)
  ## S3 method for class 'data.frame'
as.wmppp(X, window = NULL, unitname = NULL, ...)

Arguments

X

Data to be converted into a weighted, marked, planar point pattern (wmppp.object)

window

An object of calls "owin" (owin.object).

unitname

Name of unit of length. Either a single character string, or a vector of two character strings giving the singular and plural forms, respectively.

...

Extra arguments.

Details

This is a generic method, implemented for ppp and data.frame:

Value

An object of class "wmppp".

See Also

wmppp.object


[Package dbmss version 2.9-0 Index]