R/namesIndiv.R

### extract names of individuals from Move
if (!isGeneric("namesIndiv", where = topenv(parent.frame()))) {
  setGeneric("namesIndiv", function(obj) standardGeneric("namesIndiv"))
}
setMethod("namesIndiv", ".MoveTrackSingle", function(obj) {
  return(rownames(idData(obj, drop = F)))
})

setMethod("namesIndiv", ".MoveTrackStack", function(obj) {
  return(rownames(idData(obj, drop = F)))
})

Try the move package in your browser

Any scripts or data that you put into this service are public.

move documentation built on July 9, 2023, 6:09 p.m.