dots2list: Check if '...' is a list or a number of named objects and...

Description Usage Arguments Details Examples

Description

Depending on how arguments of ... are supplied to a function as.list() will fail with an error or list() will over-concatenate the argument(s). These functions check to see how ... is entered and exports to the appropriate type to be used in functions

Usage

1
2
3

Arguments

...

Either a list or any number of named objects

Details

is_list_dots will return a logical value. dots2list will return a list of the values of ...

Examples

1
2
3
4
5
is_list_dots(list(a = 1, b = 2))
is_list_dots(a = 1, b = 2)

dots2list(list(a = 1, b = 2))
dots2list(a = 1, b = 2)

inspktrgadget/gadgetSim documentation built on May 10, 2019, 9:51 a.m.