Description Usage Arguments Author(s) See Also Examples
This plots sites of interest on the river chart.
1 2 3 4 |
site |
a character vector of site names. |
river |
a vector of rivers on which the sites are located. |
distance |
a vector. The along-the-river distance between the site and the mouth of the river. |
group |
a vector. Group names of river locations. |
riverlayout |
the output list of |
pt.pch |
point style. |
pt.col |
point border colour. |
pt.bg |
point background(fill) colour when |
pt.cex |
point size. |
lbl.cex |
label size. |
lbl.srt |
label angle. |
lbl.adj |
label adjustment. One or two values in [0,1] for x and y (optional) adjustment. |
lbl.col |
label colour. |
lbl.pos |
label position. |
lbl.ofs |
label position offset. |
lbl.shw |
show labels ( |
Feng Mao
RiverLayout
, RiverDraw
,
RiverMap
, par
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | data(Ballinderry)
riverlayout <- RiverLayout(B.river$River,B.river$Length,
B.river$Parent,B.river$Position,
B.river$Distance, direction = -1)
RiverDraw(riverlayout)
RiverSite(B.soi$SOI, B.soi$River, B.soi$Distance, B.soi$Group, riverlayout,
pt.bg = c("red","green","yellow"), lbl.shw = FALSE)
RiverDraw(riverlayout)
RiverSite(B.town$Town, B.town$River, B.town$Distance, B.town$Group,
riverlayout, pt.pch = 22, lbl.shw = FALSE,
pt.bg = "orange", pt.col = "black")
RiverSite(B.soi$SOI, B.soi$River, B.soi$Distance, B.soi$Group,
riverlayout, pt.pch = c(25, 24, NA),
lbl.shw = FALSE, pt.bg = NA, pt.col = "black")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.