Learn R Programming

move (version 3.2.2)

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

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.

See Also

points, plot

Examples

Run this code
# NOT RUN {
## 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