plotSenators: ~ Function: plotSenators ~

Description Usage Arguments Details Value Examples

Description

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

Usage

1
   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

1
2
3
4
5
6
data(ictusShort)
myClds <- cldsWide(ictusShort)
reduceTraj(myClds,nbSenators=4)
plotSenators(myClds)
reduceTraj(myClds,nbSenators=32)
plotSenators(myClds)

kmlShape documentation built on May 1, 2019, 7:50 p.m.