Description Usage Format Details Source References Examples
Scatterplots of water-quality data for 05586100 Illinois River at
Valley City, Ill.
1 |
A data frame containing 168 water-quality samples for 4 constituents. There are 20 variables.
site | character | Site abbreviation for study |
staid | character | USGS Station identification number |
dates | date | Date water-quality sample collected |
yrc | numeric | Year |
moc | numeric | Month |
dac | numeric | Day |
jdayc | numeric | Julian day from first day of associated streamflow data used |
R04035 | character | Remark code (blank, _, <, or E) |
P04035 | numeric | Simazine, water, filtered, recoverable, micrograms per liter |
R04037 | character | Remark code (blank, _, <, or E) |
P04037 | numeric | Prometon, water, filtered, recoverable, micrograms per liter |
R82630 | character | Remark code (blank, _, <, or E) |
P82630 | numeric | Metribuzin, water, filtered, recoverable, micrograms per liter |
R82668 | character | Remark code (blank, _, <, or E) |
P82668 | numeric | EPTC, water, filtered (0.7 micron glass fiber filter), recoverable, micrograms per liter |
dflow | numeric | Streamflow, cubic feet per second |
flowa30 | numeric | 30-day streamflow anomaly |
flowa1 | numeric | 1-day streamflow anomaly |
dsed | numeric | Sediment concentration, milligrams per liter |
seda30 | numeric | 30-day sediment anomaly |
seda1 | numeric | 1-day sediment anomaly |
Chemical concentration data are in the columns that start with a P and are followed by a number. Qualification codes for the concentration data are in the columns that start with an R followed by the same numbers as the associated concentration data. For example, column P04035 indicates simazine data, 04035, being the U.S. Geological Survey parameter code for simazine. The qualification codes for the simazine concentrations are found in the column R04035, indicating a U.S. Geological Survey remark code. Remark codes include _ or nothing, indicating no qualification of the value in the associated concentration field; <, indicating a censored value that is less than the number reported in the associated concentration field; and E, indicating that the value has been estimated. See Oblinger Childress and others (1999) for information on the remark codes used by the U.S. Geological Survey. The streamflow and sediment anomalies were generated using the R package waterData (Ryberg and Vecchia, 2012).
Data provided by Patrick Phillips, U.S. Geological Survey, New York Water Science Center.
Oblinger Childress, C.J., Foreman, W.T., Connor, B.F., and Maloney, T.J., 1999, New reporting procedures based on long-term method detection levels and some considerations for interpretations of water-quality data provided by the U.S. Geological Survey Open-File Report 99–193, 19 p. [Also available at https://water.usgs.gov/owq/OFR_99-193/index.html.]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | data(swData)
# summary of water-quality concentrations
apply(IllRivValleyCty[, grep("P[[:digit:]]",
dimnames(IllRivValleyCty)[[2]])], 2, summary)
# scatter plot of simazine concentrations
cenScatPlot(IllRivValleyCty, pname = "04035")
# Simazine scatter plot with many additional plotting arguments
par(las = 1, tcl = 0.5)
cenScatPlot(IllRivValleyCty, pname = "04035",
site = "05586100 Illinois River at Valley City, Ill.",
ylabel = "Simazine concentration, in micrograms per liter",
legcex = 0.7,
ylim = c(0, 0.4), yaxs = "i",
xlim = c(as.Date("1996-01-01"), as.Date("2012-01-01")),
xaxs = "i", xaxt = "n")
axdates <- c("1996-01-01", "2000-01-01", "2004-01-01", "2008-01-01",
"2012-01-01")
axis(1, as.Date(axdates), labels = c("1996", "2000", "2004", "2008", "2012"))
# Prometon scatter plot
cenScatPlot(IllRivValleyCty, pname = "04037",
site = "05586100 Illinois River at Valley City, Ill.",
ylabel = "Prometon concentration, in micrograms per liter",
legcex = 0.7,
ylim = c(0, 0.06), yaxs = "i",
xlim=c(as.Date("1996-01-01"), as.Date("2012-01-01")), xaxs = "i",
xaxt = "n")
axdates<-c("1996-01-01", "2000-01-01", "2004-01-01", "2008-01-01", "2012-01-01")
axis(1, as.Date(axdates), labels = c("1996", "2000", "2004", "2008","2012"))
# Metribuzin scatter plot
cenScatPlot(IllRivValleyCty, pname="82630",
site="05586100 Illinois River at Valley City, Ill.",
ylabel="Metribuzin concentration, in micrograms per liter",
legcex=0.7,
ylim=c(0,0.3), yaxs="i", cex.lab=0.9, cex.axis=0.9,
xlim=c(as.Date("1996-01-01"),
as.Date("2012-01-01")), xaxs="i",
xaxt="n")
axdates<-c("1996-01-01", "2000-01-01", "2004-01-01", "2008-01-01",
"2012-01-01")
axis(1, as.Date(axdates), labels=c("1996", "2000", "2004", "2008",
"2012"), cex.axis=0.9)
# EPTC scatter plot
cenScatPlot(IllRivValleyCty, pname = "82668",
site = "05586100 Illinois River at Valley City, Ill.",
ylabel = "EPTC concentration, in micrograms per liter",
legcex = 0.7, ylim = c(0, 0.08), yaxs = "i",
xlim=c(as.Date("1996-01-01"), as.Date("2012-01-01")),
xaxs = "i", xaxt = "n")
axdates <- c("1996-01-01", "2000-01-01", "2004-01-01", "2008-01-01",
"2012-01-01")
axis(1, as.Date(axdates), labels = c("1996", "2000", "2004", "2008","2012"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.