subin: Substitute new values into the input object

Description Usage Arguments Details Value

Description

Replaces existing values found in one object with new values

Usage

1
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 not, prints a warning but if so, replaces the existing line of ssparams with that line of x.

Not expected to be used directly.

Value

The modified ssparams.


Kenkleinman/rsatscan documentation built on May 27, 2019, 4:06 a.m.