subin: Substitute new values into the input object

subinR Documentation

Substitute new values into the input object

Description

Replaces existing values found in one object with new values

Usage

subin(x, ssparams)

Arguments

x

A character vector of the form "name=value"

ssparams

A character vector with arbitrary lines, currently imagined to be .ss.params

Details

For each line of x, the function: 1) finds the "name" and the "value" 2) checks to see whether the "name" exists in ssparams. If the "name" exists in .ss.params, then the existing line is replaced with that line of x If the "name" does not exist in .ss.params, then later parameter sets are check to see if the "name" exists in them. If the "name" exists in a later parameter set, this is printed as a note to the user. If the "name" is not found in any parameter set, then a warning is given.

Not expected to be used directly.

Value

The modified ssparams.


rsatscan documentation built on June 26, 2024, 5:08 p.m.