Learn R Programming

simTool (version 1.1.5)

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(...)

Arguments

vectors, factors or a list containing these.

Value

See expand.grid but instead of a data.frame a tibble is returned.

See Also

expand.grid

Examples

Run this code
# NOT RUN {
expand_tibble(fun="rnorm", mean=1:4, sd=2:5)

# }

Run the code above in your browser using DataLab