Description Usage Arguments Author(s) See Also Examples
This function plots scatter points or broken lines on the river chart.
1 2 3 4 5 |
site |
a vector of site IDs. |
river |
a vector of river names. |
distance |
a vector of distances from sites to the river mouth. |
value |
a vector of values. |
riverlayout |
the output list of |
range |
point value range. A vector of two values indicating lower limit and upper limit. |
type |
type of plot. See |
pt.col |
point or point border colour. |
pt.bg |
point point background(fill) colour when |
pt.pch |
point style. |
pt.cex |
point size. |
lbl.cex |
label size. |
lbl.adj |
label adjustment. One or two values in [0,1] for x and y (optional) adjustment. |
lbl.ofs |
label position offset. |
lbl.col |
label colour. |
lbl.srt |
label angle. |
lbl.pos |
label position. |
lbl.shw |
show labels ( |
ln.lwd |
line width. |
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)
RiverPoint(B.elevation$Site, B.elevation$River, B.elevation$Distance,
B.elevation$Elevation, riverlayout)
RiverPoint(B.sitenh4n$Site, B.sitenh4n$River, B.sitenh4n$Distance,
B.sitenh4n$NH4N_Spring, riverlayout, type = "o",
pt.col = "#5381FFFF", pt.pch = 21, pt.bg = "lightblue")
RiverPoint(B.sitenh4n$Site, B.sitenh4n$River, B.sitenh4n$Distance,
B.sitenh4n$NH4N_Autumn, riverlayout, type = "o",
pt.col = "#FF3931FF", pt.pch = 21, pt.bg = "pink",
lbl.shw = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.