Learn R Programming

kmlShape (version 0.9.5)

plotTraj: ~ Function: plotTraj for Clds ~

Description

plotTraj plot the trajectories of an object Clds.

Usage

"plotTraj"(x, y, col="clusters", pourcent=NA, ...)

Arguments

x
[Clds]: Object containing the trajectories to plot.
y
Useless. For compatibility only.
col
[character], [integer] or [vector(integer)]: color use for the trajectories. If the special value "clusters" is used, the trajectories will be colored according to their clusters.
pourcent
[vector(numeric)]: if pourcent is not NA, then the vector pourcent is used as value for the legend. If pourcent is NA, the legend is not printed.
...
Arguments to be passed to methods. These arguments need to be compatible with matplot.

Details

plotTraj the trajectories of an object Clds. If the option col="clusters" is used, the trajectories will be colored according to their clusters.

Examples

Run this code
data(ictusShort)
myClds <- cldsWide(ictusShort)
plot(myClds)

Run the code above in your browser using DataLab