Learn R Programming

kmlShape (version 0.9.5)

plotSenators: ~ Function: plotSenators ~

Description

Plot the senators hold a an linkS4class{Clds} object.

Usage

plotSenators(x, col = 2:7, lty = 1:5, lwd=1, add = FALSE,main="", xlab="Times",ylab="")

Arguments

x
[Clds] Object holding the senators.
col
[vector(numeric)] or [vector(character)]: vector that define the trajectories' colors. If the length of the vector is one, then its value is duplicated.
lty
[numeric]: lines type.
lwd
[numeric]: lines width.
add
[logical]: shall the function start a new graph (add=FALSE) or add the lines to the current graph (add=TRUE) ?
main
[character]: main title of the graphical display.
xlab
[character]: x label of the graphical display.
ylab
[character]: y label of the graphical display.

Value

A graph.

Details

Plot the senators hold a an linkS4class{Clds} object.

Examples

Run this code
data(ictusShort)
myClds <- cldsWide(ictusShort)
reduceTraj(myClds,nbSenators=4)
plotSenators(myClds)
reduceTraj(myClds,nbSenators=32)
plotSenators(myClds)

Run the code above in your browser using DataLab