Operators acting on trajectories.
# S3 method for trajectory [(x, i) # S3 method for trajectory [[(x, i)
logicalvectors or empty (missing) or
NULL. Numeric values are coerced to integer as by
as.integer(and hence truncated towards zero). Negative integers indicate elemets/slices to leave out the selection. Character vectors will be matched to the names of the activities in the trajectory as by
%in%. Logical vectors indicate elements/slices to select. Such vectors are NOT recycled to match the corresponding extent. An empty index will return the whole trajectory. An index value of
NULLis treated as if it were
Returns a new trajectory object.