Learn R Programming

move (version 1.0)

citations: Extract the citation of a Move or MoveStack object

Description

The citations method returns or sets the citation of a track from a Move or MovesStack object.

Usage

## S3 method for class '.MoveGeneral':
citations(obj)
  ## S3 method for class '.MoveGeneral':
citations(obj) <- value

Arguments

obj
Move or MoveStack object
value
citation from class character

Examples

Run this code
load(system.file("extdata", "move.RData", package="move"), .GlobalEnv)
  stack <- moveStack(list(leroy,leroy))
  
  citations(leroy) #get the citation from a Move object
  citations(stack) #get the citation from a MoveStack object
  citations(leroy) <- "No paper available" #change the citation and set it for a Move object
  citations(stack) <- "Nothing to cite" #change the citation and set it for a MoveStack object

Run the code above in your browser using DataLab