rmfi_plot_bc: Plot a RMODFLOW list-directed boundary condition object

View source: R/internals.R

rmfi_plot_bcR Documentation

Plot a RMODFLOW list-directed boundary condition object

Description

Plot a RMODFLOW list-directed boundary condition object

Usage

rmfi_plot_bc(
  obj,
  dis,
  kper = NULL,
  variable = "id",
  i = NULL,
  j = NULL,
  k = NULL,
  active_only = FALSE,
  fun = sum,
  add = FALSE,
  ...
)

Arguments

obj

a RMODFLOW list-directed boundary condition object, i.e. riv, chd, wel, drn, ghb, and derivatives

dis

a RMODFLOW dis object

kper

integer specifying the stress-period to plot

variable

single character or numeric indicating which column in the rmf_list object to plot. Defaults to 'id', which plots the locations of the cells.

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 FALSE.

fun

function to compute values in the case multiple values are defined for the same MODFLOW cell. Typically either mean or sum. Defaults to sum.

add

logical; if TRUE, provide ggplot2 layers instead of object, or add 3D plot to existing rgl device; defaults to FALSE

...

additional arguments passed to rmf_plot.rmf_3d_array

Value

ggplot2 object or layer


rogiersbart/RMODFLOW documentation built on Jan. 14, 2023, 4:21 a.m.