View source: R/optimal_search.R
| resultsOptimalSearch | R Documentation |
Returns the results (thus far) of the optimal design search
resultsOptimalSearch(obj, num_vectors = 2, form = "one_zero")
obj |
The |
num_vectors |
How many allocation vectors you wish to return. The default is 1 meaning the best vector. If |
form |
Which form should it be in? The default is |
Adam Kapelner
## Not run:
set.seed(1)
X = matrix(rnorm(12), nrow = 6)
obj = initOptimalExperimentalDesignObject(
X,
objective = "abs_sum_diff",
num_cores = 1,
start = TRUE,
wait = TRUE,
verbose = FALSE
)
res = resultsOptimalSearch(obj, num_vectors = 2, form = "one_zero")
res$opt_obj_val
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.