lines: Plotting the lines of a track

linesR Documentation

Plotting the lines of a track

Description

Function for plotting a track from a Move object as lines

Usage

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

Marco Smolla & Anne Scharf

See Also

points, plot

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)

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