updateLines: This is a function which is used to update lines that are...

Description Usage Arguments Value Note

View source: R/sourceSHAPE.R

Description

This is a function which is used to update lines that are searched and replace in a manner conditional to this script's circumstances The input lines can be a vector of any length, and the search patterns can be a list of any length where each list vector is used together. The values should be a list of information used as replacement info.

Usage

1
updateLines(func_inLines, func_searchPattern, func_values)

Arguments

func_inLines

These are the lines that are to be updated before output

func_searchPattern

These are the string-s- to be searched for replacement

func_values

These are the values that are to replace the searched strings.

Value

A vector of character strings that has now been updated.

Note

There is no example as this cannot work outisde of a runSHAPE call, it requires data produced by the simulation experiment.


rSHAPE documentation built on July 19, 2019, 5:05 p.m.

Related to updateLines in rSHAPE...