RiverTM: Tick Marks on River Charts

Description Usage Arguments Author(s) See Also Examples

View source: R/RiverTM.R

Description

This adds tick marks to the river chart.

Usage

1
2
3
RiverTM(tickmark, value, riverlayout, range = NA, side = "L", pos = 1,
  tm.l = 1, tm.col = "black", lbl.shw = TRUE, lbl.col = "black",
  lbl.cex = 0.7, lbl.row = TRUE, label = NA)

Arguments

tickmark

a vector of tick mark values.

value

the variables which the tick marks are for.

riverlayout

the output list of RiverLayout or RiverMap.

range

bar-chart value range. A vector of two values indicating lower limit and upper limit.

side

position of tick marks. "l" for left and "r" for right.

pos

position of tick marks. -1 for in and 1 for out.

tm.l

tick mark length.

tm.col

tick mark colour.

lbl.shw

show labels of tick marks (TRUE) or not (FALSE).

lbl.col

label colour.

lbl.cex

label size.

lbl.row

show one label per row (TRUE) or not (FALSE).

label

a vector of tick mark labels.

Author(s)

Feng Mao

See Also

RiverLayout, RiverDraw, RiverMap. par.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
data(Ballinderry)

riverlayout <- RiverLayout(B.river$River,B.river$Length,
                           B.river$Parent,B.river$Position,
                           B.river$Distance, direction = -1)
RiverDraw(riverlayout)

RiverPoint(NA,B.elevation$River, B.elevation$Distance,
           B.elevation$Elevation, riverlayout)

RiverTM(c(0, 100, 200, 300, 400, 500), B.elevation[3], riverlayout,
        pos=-1, side = "R", range = c(0,500),
        label = c(0, 100, 200, 300, 400, 500))

rivervis documentation built on May 1, 2019, 7:28 p.m.