sel: Select Parameters

View source: R/utils.R

selR Documentation

Select Parameters

Description

If a list holds vectors of parameter values, this function extracts the i-th parameter value from each vector and creates a new list with these values. Especially helpful if a function is called repeatedly via do.call with different parameter values from within a function.

Usage

sel(x, i)

Arguments

x

List. A list of parameter values.

i

Integer. The i-th element of each vector that is to be extracted.


crsh/papaja documentation built on Feb. 21, 2024, 6:11 p.m.