removeSpatialTrajectories: Remove spatial trajectories

removeSpatialTrajectoriesR Documentation

Remove spatial trajectories

Description

Removes spatial trajectories from the SPATA2 object.

Usage

removeSpatialTrajectories(object, ids)

Arguments

object

An object of class SPATA2 or, in case of S4 generics, objects of classes for which a method has been defined.

id

Character vector. The IDs of the spatial trajectories to remove.

Value

The updated input object, containing the added, removed or computed results.

Examples

library(SPATA2)

data("example_data")

object <- example_data$object_UKF269T_diet

getTrajectoryIds(object)

object <- removeSpatialTrajectories(object, ids = "horizontal_mid")

getTrajectoryIds(object)


theMILOlab/SPATA2 documentation built on Feb. 8, 2025, 11:41 p.m.