Learn R Programming

papaja (version 0.1.0.9479)

defaults: 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.