indexing: Subset for nonidentical package class objects

indexingR Documentation

Subset for nonidentical package class objects

Description

Subset for nonidentical package class objects

Intersect different data model objects

Usage

## S4 method for signature 'SpatVector,bbox,missing,ANY'
x[i, j]

## S4 method for signature 'SpatVector,sf,missing,ANY'
x[i, j]

## S4 method for signature 'SpatVector,sfc,missing,ANY'
x[i, j]

## S4 method for signature 'SpatVector,SpatExtent,missing,ANY'
x[i, j]

.intersect(x, y)

Arguments

x

SpatVector/sf/SpatRaster object to be intersected.

i

Dataset used to subset x.

j

Column indices or names.

y

SpatVector/sf object. Intersecting object.


chopin documentation built on Sept. 10, 2025, 5:08 p.m.