Learn R Programming

move (version 1.0)

points: Plotting the points of a track

Description

Function for plotting a recorded track from a Move object as points.

Usage

## S3 method for class '.MoveTrackSingle':
points(x,...)
  ## S3 method for class '.MoveTrackStack':
points(x,col=NA,...)
  ## S3 method for class '.MoveTrackSingleBurst':
points(x,...)

Arguments

x
Move or a DBBMM object
col
a vector of colors (same length as the number of objects)
...
arguments to be passed on, e.g. col for color, or add to add the points to a plot.

Examples

Run this code
load(system.file("extdata", "move.RData", package="move"), .GlobalEnv)

plot(rickydbbmm)
points(spTransform(ricky), col=3) # add a track from a Move object to a plot
stack <- moveStack(list(leroy,leroy))
points(stack, col=3:4, pch=4) #just test whether MoveStacks can be plotted

Run the code above in your browser using DataLab