View source: R/rerandomization_search.R
| resultsRerandomizationSearch | R Documentation |
Returns the results (thus far) of the rerandomization design search
resultsRerandomizationSearch(
obj,
include_assignments = FALSE,
form = "one_zero"
)
obj |
The |
include_assignments |
Do we include the assignments (takes time) and default is |
form |
Which form should the assignments be in? The default is |
Adam Kapelner
## Not run:
set.seed(1)
X = matrix(rnorm(20), nrow = 10)
obj = initRerandomizationExperimentalDesignObject(
X,
max_designs = 5,
num_cores = 1,
objective = "abs_sum_diff",
obj_val_cutoff_to_include = Inf,
start = TRUE,
wait = TRUE,
verbose = FALSE
)
res = resultsRerandomizationSearch(obj, include_assignments = TRUE, form = "one_zero")
dim(res$ending_indicTs)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.