defaults: Set Defaults

View source: R/utils.R

defaultsR Documentation

Set Defaults

Description

A helper function that is intended for internal use. A list ellipsis may be manipulated by overwriting (via set) or adding (via set.if.null) list elements.

Usage

defaults(ellipsis, set = NULL, set.if.null = NULL)

Arguments

ellipsis

A list, usually a list that comes from an ellipsis

set

A named list of parameters that are intended to be set.

set.if.null

A named list of parameters that are intended to be set if and only if the parameter is not already in ellipsis.


papaja documentation built on Oct. 30, 2024, 9:09 a.m.