R: ~ Function: plotTraj for Clds ~

plotTraj {kmlShape} | R Documentation

## ~ Function: plotTraj for Clds ~

### Description

`plotTraj` plot the trajectories of an object `Clds`.

### Usage

    ## S4 method for signature 'Clds,missing'
    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

    data(ictusShort)
    myClds <- cldsWide(ictusShort)
    plot(myClds)

[Package kmlShape version 0.9.5 Index]