update_onepar: Update a single parameter vector

View source: R/setup.R

update_oneparR Documentation

Update a single parameter vector

Description

Replace parameter values with better ones, if available.

Usage

update_onepar(currvals, newvals = NULL, mapvec = NULL)

Arguments

currvals

Vector of current parameter values

newvals

Values to update

mapvec

Map, indexing the new values into their places in the parameter vector, with NAs for elements that were not estiamted

Value

The updated parameter vector

Author(s)

John K Best


jkbest2/spatq documentation built on Sept. 22, 2022, 3:22 a.m.