plot_normalized_data | R Documentation |
Create composite hydrograph plot
plot_normalized_data(
x,
num_years = NA,
parameter_cd = "72019",
plot_title = "",
subtitle = "U.S. Geological Survey"
)
x |
aquifer data frame. Requires at least 3 columns. Two are required "site_no", "year", and "value". |
num_years |
integer number of years required to the analysis. If |
parameter_cd |
character, 5-digit parameter code, default is "72019". |
plot_title |
character title of plot. |
subtitle |
character. Sub-title for plot, default is "U.S. Geological Survey". |
ggplot2 object
aquifer_data <- aquifer_data
norm_data <- plot_normalized_data(aquifer_data,
parameter_cd = "72019",
num_years = 30)
norm_data
aquifer_data$cal_year <- aquifer_data$year
aquifer_data$year <- aquifer_data$water_year
plot_normalized_data(aquifer_data,
parameter_cd = "72019",
num_years = 30)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.