Skip to contents

Extract dots from function

Usage

dots(..., character = FALSE)

Arguments

...

Objects as dots.

character

logical(1). Return dots (...) as character.

Value

  • character = FALSE: list. Objects as name class. Return with eval.

  • character = TRUE: character. Names of the dots.

Note

This function uses non-standard evaluation.

Updated 2020-01-28.

Examples

dots(a, b, c, character = FALSE)
#> [[1]]
#> a
#> 
#> [[2]]
#> b
#> 
#> [[3]]
#> c
#> 
dots(a, b, c, character = TRUE)
#> [1] "a" "b" "c"