SObjects-class: The SObjects class and constructor function

Description Usage Arguments Details Value Slots Note Author(s) See Also Examples

Description

SObjects: a Class for Spatial Entities (Objects)

Usage

1
SObjects(observations, window)

Arguments

observations

object of one of the sublasses of Spatial

window

object of class SExtent or Spatial

Details

A class to store spatial entities, such as trees, buildings and so on, along with the observed window, the area for which the set of entities is exhaustive. It is assumed that for all points in the observed window where there are no objects, the space is known to be empty.

Value

object of class SObjects-class

Slots

observations

object of a subclass of Spatial

window

object of class SExtentOrNULL-class

Note

If no window is supplied, the window is set to the collection of features, and a warning is issued. Support is assumed to be that of the features (points, polygons, lines, grid cells) in the observations object.

Author(s)

Edzer Pebesma

See Also

SField

Examples

1
2
3
library(sp)
demo(meuse, ask = FALSE, echo = FALSE)
m = SObjects(meuse, meuse.area)

edzer/mss documentation built on May 15, 2019, 11:08 p.m.