Learn R Programming

reval (version 3.0-0)

args_set: Argument Set

Description

Generate an argument table from a set of arguments, following the standard rules for vector recycling in R.

Usage

args_set(...)

Arguments

...

Named arguments to a function.

Value

A tibble of argument combinations.

Examples

Run this code
# NOT RUN {
args_set(x = 1:10, y = 1:10)
args_set(x = 1:10, y = 1:5, z = 1:2)
# mismatched argument lengths will generate a warning
# }
# NOT RUN {
args_set(x = 1:10, y = 1:3)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab