Extract.ssf: Subset of spatially sampled function

[.ssfR Documentation

Subset of spatially sampled function

Description

Extract a subset of the data for a spatially sampled function.

Usage

 ## S3 method for class 'ssf'
x[i, j, ..., drop]

Arguments

x

Object of class "ssf".

i

Subset index applying to the locations where the function is sampled.

j

Subset index applying to the columns (variables) measured at each location.

..., drop

Ignored.

Details

This is the subset operator for the class "ssf".

Value

Another object of class "ssf".

Author(s)

\adrian

.

See Also

ssf, with.ssf

Examples

  f <- ssf(cells, data.frame(d=nndist(cells), i=1:42))
  f
  f[1:10,]
  f[ ,1]

spatstat.core documentation built on May 18, 2022, 9:05 a.m.