Learn R Programming

simTool (version 1.1.4)

expandGrid: Creates a data.frame from All Combinations

Description

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

Usage

expandGrid(...)

Arguments

vectors, factors or a list containing these.

Value

See expand.grid

See Also

expand.grid

Examples

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

# }

Run the code above in your browser using DataLab