Plot a RMODFLOW hfb object
# S3 method for hfb rmf_plot( hfb, dis, variable = "id", all_hfb = FALSE, i = NULL, j = NULL, k = NULL, type = "fill", active_only = TRUE, fun = ifelse(variable == "hydchr", sum, mean), prj = rmf_get_prj(dis), crs = NULL, size = 1, colour = "orange", crop = FALSE, add = FALSE, ... )
hfb | an |
---|---|
dis | a |
variable | single character or numeric indicating which column of |
all_hfb | logical; should all horizontal-flow barriers be plotted (TRUE) or only the ones that are active in the simulation (FALSE; default) |
i | row number to plot |
j | column number to plot |
k | layer number to plot |
active_only | logical; indicating if only the active cells should be plotted. Non-active cells are set to NA. Defaults to TRUE. |
fun | function to compute values in the case multiple values are defined for the same MODFLOW cell. Typically either |
... | additional arguments passed to |
ggplot2 object or layer