This function simplifies the evaluation of design criteria on space-filling designs (matrices where each row is a possible design). The design criterion is parallelized as well using the parallel package. A progress bar gives a visual indicator when the design criterion is expensive.
Usage
space_eval(lhs, criterion, cluster = NULL)
Arguments
lhs
A matrix with n rows and d columns.
criterion
A function with vector input of length d.
cluster
A parallel cluster object.
Value
A row vector of length n.
Details
Only univariate design criteria can be optimized GADGET currently.