Description Usage Arguments Details Value Examples
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.
1 | space_eval(lhs, criterion, cluster = NULL)
|
lhs |
A matrix with |
criterion |
A function with vector input of length |
cluster |
A |
Only univariate design criteria can be optimized GADGET
currently.
A row vector of length n
.
1 2 3 4 | my_lhs <- space_fill(c(0,0),c(10,10),20)
dc <- function(x){sum(x^2)}
response <- space_eval(my_lhs,dc)
print(response)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.