expandParams: Expand values of parameters

Description Usage Arguments Details Value

Description

Expand the values of multiple parameters by repititions in a Params object. This function is similar with that in splatter.

Usage

1
2
3
4
5
6
7
expandParams(object, vectors, n)

## S4 method for signature 'Params'
expandParams(object, vectors, n)

## S4 method for signature 'escoParams'
expandParams(object)

Arguments

object

Params object to set parameters in.

vectors

list of parameters to reset values, where names(update) are the names of the parameters to set and the items in the list are values.

n

an integer indicates the target number of repititions.

Details

Each parameter is set by a call to setParam. If the same parameter is specified multiple times it will be set multiple times.

Value

object with new parameters.


JINJINT/splattermodify documentation built on May 19, 2021, 4:05 p.m.