rmfi_replace_in_vector: Replace values in a vector with corresponding parameter names

rmfi_replace_in_vectorR Documentation

Replace values in a vector with corresponding parameter names

Description

This function is a helper for processing the arguments of rmf_execute(), rmf_analyze() and rmf_optimize() that can be named vectors, a named lists of functions.

Usage

rmfi_replace_in_vector(parnam, parval, new, start = parval)

Arguments

parnam

Character vector of parameter names from a PVAL file.

parval

Vector of values. Can be numeric as in PVAL file, but also character for e.g. the transformation.

new

Named numeric vector, or named list of functions and/or numeric values.


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