Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

designRandom

Random Design


Description

Create a random initial population or experimental design, given a specifed creation function, as well as a optional set of user-specified design members and a maximum design size. Also removes duplicates from the design/population.

Usage

designRandom(x = NULL, cf, size, control = list())

Arguments

x

Optional list of user specified solutions to be added to the design, defaults to NULL

cf

Creation function, creates random new individuals

size

size of the design

control

not used

Value

Returns list with experimental design without duplicates

See Also

Examples

# Create a design of 10 permutations, each with 5 elements
design <- designRandom(NULL,function()sample(5),10)
# Create a design of 20 real valued 2d vectors
design <- designRandom(NULL,function()runif(2),20)

CEGO

Combinatorial Efficient Global Optimization

v2.4.0
GPL (>= 3)
Authors
Martin Zaefferer <mzaefferer@gmail.com>
Initial release
2019-12-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.