sample.func {optim.functions} | R Documentation |
Unified function sampling interface.
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
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 |
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.
[Package optim.functions version 0.1 Index]