Learn R Programming

move (version 2.1.0)

unUsedRecords<-: Creates unused records data

Description

A function that assigns locations as unused or returns the unUsedRecords part of the object it could for example be used to remove locations test locations from a track.

Usage

# S4 method for .MoveTrackSingle,logical
unUsedRecords(obj) <- value
  # S4 method for .MoveTrackStack,logical
unUsedRecords(obj) <- value
  # S4 method for .unUsedRecords
unUsedRecords(obj,...)
  # S4 method for .unUsedRecordsStack
unUsedRecords(obj,...)

Arguments

obj

a Move or MoveStack object

value

A logical vector of the same length as the number of locations

...

Not used at the moment

Examples

Run this code
# NOT RUN {
data(leroy)
par(mfrow=2:1)
plot(leroy, type='b')
unUsedRecords(leroy)<-as.logical((1:n.locs(leroy))%%2)
plot(leroy, type='b')
# }

Run the code above in your browser using DataLab