plotParam {waterData} | R Documentation |
Plot Streamflow and Continous Water-Quality Data
Description
Function to plot hydrologic times series. Will plot more than one site at a time.
Usage
plotParam(data, logscale = FALSE, metric = FALSE, ylabel = NULL, ...)
Arguments
data |
is the data frame in the format of that returned by importDVs. |
logscale |
is a logical indicating whether or not the y-scale should be log 10. Streamflow generally is plotted with a log scale and this only has an effect on the plotting of streamflow data. |
metric |
USGS streamflow data are usually in cubic feet per second; however it may be converted to cubic meters per second for publication. Likewise, gage height is usually in feet, but could be converted to meters. The metric argument only has an effect on streamflow and gage height. |
ylabel |
optionally allows user to pass a y-axis label. |
... |
further arguments to be passed to plotting method (see par). (see xyplot). |
Value
a lattice plot
Examples
data(exampleWaterData)
plotParam(misQ05054000, code="00060", stat="00003", logscale=TRUE)
plotParam(misQ05054000, code=attributes(misQ05054000)$code,
stat=attributes(misQ05054000)$stat, logscale=TRUE)
[Package waterData version 1.0.8 Index]