Skip to contents

Function for plotting a track from a Move object as lines

Usage

# S4 method for class '.MoveTrackSingle'
lines(x,...)
  # S4 method for class '.MoveTrackStack'
lines(x,col=NA,...)
  # S4 method for class '.MoveTrackSingleBurst'
lines(x,col=NA,...)

Arguments

x

a move, moveStack, moveBurst, dBMvariance, dBMvarianceStack, dBMvarianceBurst or dBGBvariance object.

col

a vector of colors of the same length as the number of individual for a moveStack, or number of burst levels or of segments for a moveBurst object. If left empty the default 8 colors from R are used, which will be recycled if the object contains more individuals or burst levels (run palette() to obtain vector of default colors)

...

arguments to be passed on, e.g. lty or lwd.

Author

Marco Smolla & Anne Scharf

See also

Examples

## add a track from a Move object to a plot
data(leroy)
data(leroydbbmm)
plot(leroydbbmm)
lines(spTransform(leroy, center=TRUE), col=3)


## plot the points and lines of a moveStack
data(fishers)
plot(fishers, type='p',pch=4)
lines(fishers, col=3:4)