get_intersection_probability | R Documentation |
Get intersection probability
get_intersection_probability(
wells_array,
theta_range = c(-pi, pi),
alpha_range = c(0, 100),
self_treat = FALSE,
return_option = 1,
show_progress = TRUE
)
wells_array |
Wells object prepared with |
theta_range |
Vector describing the min and max of the uniform distribution for the mean lateral direction of flow |
alpha_range |
Vector describing the min and max of distance to the groundwater divide |
self_treat |
Logical. If |
return_option |
Either 1 or 2. See Return, below |
show_progress |
Logical that determines if progress bar is shown |
Note that theta_range must not cross -pi or pi.
If return_option = 1: Probability of contamination If return_option = 2: Returns a list containing the well array after clipping and shifting and probabilities of contamination
library(units)
wells_array <- get_septic_well_array(hh_grid_example, "septic")
prob <- get_intersection_probability(wells_array, show_progress = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.