Learn R Programming

rsatscan (version 0.3.9200)

subin: 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

Value

The modified ssparams.

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.