spatstat (version 1.53-2)

[.ssf: Subset of spatially sampled function

Description

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

Usage

# S3 method for 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.

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
# NOT RUN {
  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 DataCamp Workspace