Last data update: 2014.03.03

R: ~ Function: plotSenators ~
plotSenatorsR Documentation

~ 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.

Details

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

Value

A graph.

Examples

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

Results