Learn R Programming

assertive (version 0.2-6)

merge_dots_with_list: Merge ellipsis args with a list.

Description

Merges variable length ellipsis arguments to a function with a list argument.

Usage

merge_dots_with_list(..., l = list())

Arguments

...
Some inputs.
l
A list.

Value

  • A list containing the merged inputs.

See Also

merge.list, merge

Examples

Run this code
merge_dots_with_list(
  foo = 1,
  bar = 2,
  baz = 3,
  l = list(foo = 4, baz = 5, quux = 6)
)

Run the code above in your browser using DataLab