Learn R Programming

simTool (version 1.1.8)

expand_tibble: Creates a tibble from All Combinations

Description

Actually a wrapper for expand.grid, but character vectors will stay as characters.

Usage

expand_tibble(...)

Value

See expand.grid but instead of a

data.frame

a tibble is returned.

Arguments

...

vectors, factors or a list containing these.

Author

Marsel Scheer

See Also

Examples

Run this code

expand_tibble(fun = "rnorm", mean = 1:4, sd = 2:5)

Run the code above in your browser using DataLab