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
)

Arguments

project_path

path to project directory string

variable

SWAP variable to plot string

depth

depth(s) to plot numeric (optional, if left blank, all available depths will be used)

interactive

use an interactive plotly plot? flag

verbose

print status? flag

Examples

# 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")