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/ESCO documentation built on May 13, 2021, 7:25 p.m.