makeFunctionsByName: Generate smoof function by passing a character vector of...

View source: R/makeFunctionsByName.R

makeFunctionsByNameR Documentation

Generate smoof function by passing a character vector of generator names.

Description

This function is especially useful in combination with filterFunctionsByTags to generate a test set of functions with certain properties, e.~g., multimodality.

Usage

makeFunctionsByName(fun.names, ...)

Arguments

fun.names

[character]
Non empty character vector of generator function names.

...

[any]
Further arguments passed to generator.

Value

[smoof_function]

See Also

filterFunctionsByTags

Examples

# generate a testset of multimodal 2D functions
## Not run: 
test.set = makeFunctionsByName(filterFunctionsByTags("multimodal"), dimensions = 2L, m = 5L)

## End(Not run)

smoof documentation built on March 31, 2023, 11:48 p.m.