move (version 4.2.4)

lines: Plotting the lines of a track

Description

Function for plotting a track from a Move object as lines

Usage

# S4 method for .MoveTrackSingle
lines(x,...)
  # S4 method for .MoveTrackStack
lines(x,col=NA,...)
  # S4 method for .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

Run this code
## 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)

Run the code above in your browser using DataLab