Usage
RiverBlock(site, river, distance, value, riverlayout, arrangement,
pt.shw = FALSE, hw.rat = 1.5, h.gap = 0.05, w.gap = 0.025,
block.col = NA, block.lwd = 1, bd.col = "grey20",
par.shw = TRUE, par.pos = 2,
par.ofs = 1, par.cex =0.6, par.adj = c(1,0.5),
lbl.shw = TRUE, lbl.cex = 0.7, lbl.adj = c(0.5,2), lbl.ofs = 0.5,
lbl.col = "black", lbl.srt = 0, lbl.pos = NULL)
Arguments
site
a vector of site names.
river
a vector of rivers on which the sites are located.
distance
a vector. The along-the-river distances between the sites and the mouth of the river.
value
a data frame containing the qualitative variables to be shown on the block-chart.
riverlayout
the output list of RiverLayout or RiverMap.
arrangement
a vector indicating the block number for each line.
pt.shw
show location point (TRUE
) or not (FALSE
).
hw.rat
the ratio of block height and width in the plotted diagram.
h.gap
vertical gap size between blocks. By default, the vertical gap is river height * 0.05 in each river chart.
w.gap
horizontal gap size between blocks when there is more than one block in each line. By default, the horizontal gap is largest block width * 0.025.
block.lwd
block line width.
par.shw
show parameter names (TRUE
) or not (FALSE
).
par.pos
parameter label position. 1
for below, 2
for left, 3
for above, and 4
for right. See par
for details.
par.ofs
parameter label position offset.
par.cex
parameter label size.
par.adj
parameter label adjustment. One or two values in [0,1] for x and y (optional) adjustment.
lbl.adj
label adjustment. One or two values in [0,1] for x and y (optional) adjustment.
lbl.ofs
label position offset.
lbl.pos
label position. 1
for below, 2
for left, 3
for above, and 4
for right. See par
for details.
lbl.shw
show labels (TRUE
) or not (FALSE
).