setSpatialTrajectory: Set SpatialTrajectory objects

View source: R/setA-Z.R

setSpatialTrajectoryR Documentation

Set SpatialTrajectory objects

Description

Sets trajectories in the correct slot.

Usage

setSpatialTrajectory(object, trajectory, overwrite = FALSE)

setSpatialTrajectories(object, trajectories, overwrite = FALSE)

Arguments

object

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

trajectory

An object of class SpatialTrajectory.

overwrite

Logical value. Must be TRUE to allow overwriting.

trajectories

List of objects of class SpatialTrajectory.

Value

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


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