This function plots a single SWAP variable
at any given depth
. If no depths
are provided, all available depths are used. This plot can also be
interactive if interactive = TRUE
rswap_plot_variable(
project_path,
variable,
depth = NULL,
interactive = F,
verbose = F
)
path to project directory string
SWAP variable to plot string
depth(s) to plot numeric
(optional, if left blank, all available depths will be used)
use an interactive plotly plot? flag
print status? flag
# path to sample results (only for package internal example, you don't need
# this function)
example_path <- system.file(package = "rswap", "extdata/rswap_example_output")
# in your own projects, you would use something like this:
# example_path <- "C:/path/to/swap_folder/example_project"
rswap_plot_variable(example_path, variable = "WC")