sample.func: Unified function sampling interface.

Description Usage Arguments Value

Description

Provides a unified interface to sampling all functions. One just needs to specify the name of the function to sample, the number of samples, the dimensionality, and the sampling method and the library will take care of the rest.

Usage

1
sample.func(FUN.name, n, k, method = "lh.sample", ...)

Arguments

FUN.name

The name of the function to sample.

n

The number of sample points.

k

The number of dimensions to sample.

method

The sampling method.

...

Additional arguments passed to FUN.name.

Value

A data frame consisting of n rows with columns x1..xk and y1..yz where z is the number of outputs of the function.


gabysbrain/R-optim-functions documentation built on May 16, 2019, 4:50 p.m.