spatstat (version 1.48-0)

[.ssf: Subset of spatially sampled function

Description

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

Usage

"["(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.

Value

Another object of class "ssf".

Details

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

See Also

ssf, with.ssf

Examples

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

Run the code above in your browser using DataLab