run_model: Run Model

View source: R/run_model.R

run_modelR Documentation

Run Model

Description

Run Model

Usage

run_model(
  exe_path = check_hydrus_exe(),
  model_path = system.file("extdata/model/test", package = "kwb.hydrus1d"),
  print_output = TRUE,
  ...
)

Arguments

exe_path

path to Hydrus1D executable v4.17.040 (default: as retrieved by check_hydrus_exe)

model_path

path to model directory (default: system.file("extdata/model/test", package = "kwb.hydrus1d"))

print_output

if TRUE (the default) the output goes to the console, if FALSE, it is returned as an R object (character vector)

...

additional arguments passed to shell

Value

runs HYDRUS 1D model

Examples

run_model()

KWB-R/kwb.hydrus1d documentation built on Jan. 10, 2025, 9:02 p.m.