Description Usage Arguments Examples
multi_element_data
1 2 3 |
w.use |
is a subset of the datafile wUseSample that includes all areas in all data elements for state |
data.elements |
character name of data element within available categories by year for state |
area.column |
character that defines which column to use to specify area |
plot.points |
is a logical function to show counties as points or clustered bar graph |
years |
vector of integers specifying all years available for state. Defaults to NA which shows all years in dataset. |
areas |
is a geographical area as defined in your datafile such as county, HUC, or aquifer |
y.scale |
allows R to set the y-axis scale given available data range. Defaults to NA which lets R set the scale based on dataset values. |
log |
= TRUE or FALSE allows user to set log scale, default is FALSE |
legend |
is a logical function to include list of counties in a legend if manageable, default is TRUE |
c.palette |
color palette to use for points and lines |
1 2 3 4 5 6 7 8 9 10 11 12 13 | w.use <- wUseSample
areas <- c("Kent County","Sussex County")
area.column = "COUNTYNAME"
data.elements <- c("PS.GWPop","TP.TotPop")
multi_element_data(w.use, data.elements, area.column = area.column,areas = areas)
multi_element_data(w.use, data.elements, plot.points = FALSE,
area.column = area.column,areas = areas)
multi_element_data(w.use, data.elements, plot.points = FALSE,
area.column = area.column,areas = "Sussex County")
multi_element_data(w.use, data.elements, area.column)
multi_element_data(w.use, data.elements, area.column, y.scale = c(0,1000))
multi_element_data(w.use, data.elements, area.column,
y.scale = c(0,100), years = c(1990,2005))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.