batch_RRE | R Documentation |
Provides the USGS regressions from a batch_StreamStats object or manually entered params. Uses methods from \insertCiteries2017streamstatswildlandhydRo to generate RRE's.
batch_RRE(data, parallel = FALSE)
data |
A previously created batch_StreamStats object. |
parallel |
|
Returns a data.frame with associated regional regression estimates.
## Not run:
# Bring in data
#### use batch_StreamStats object
data <- tibble(Lat = c(48.30602, 48.62952, 48.14946),
Lon = c(-115.54327, -114.75546, -116.05935),
Site = c("Granite Creek", "Louis Creek", "WF Blue Creek"))
data <- data %>% sf::st_as_sf(coords = c('Lon', 'Lat')) %>% sf::st_set_crs(4326)
three_sites <- batch_StreamStats(data, group = 'Site',
crs = 4326)
rre_peak <- batch_RRE(three_sites)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.