This method creates an object of type pairwise_matching_experimental_design_search and will immediately initiate
a search through $1_T$ space for pairwise match designs based on the structure computed in the function computeBinaryMatchStructure
.
For debugging, you can use set the seed
parameter and num_cores = 1
to be assured of deterministic output.
initBinaryMatchExperimentalDesignSearch(
binary_match_structure,
max_designs = 1000,
wait = FALSE,
start = TRUE,
num_cores = 1,
seed = NULL,
prop_flips = 1
)
The binary_experimental_design
object where the pairs are computed.
How many random allocation vectors you wish to return. The default is 1000.
Should the R
terminal hang until all max_designs
vectors are found? The
default is FALSE
.
Should we start searching immediately (default is TRUE
).
The number of CPU cores you wish to use during the search. The default is 1
.
The set to set for deterministic output. This should only be set if num_cores = 1
otherwise
the output will not be deterministic. Default is NULL
for no seed set.
Proportion of flips. Default is all. Lower for more correlated assignments (useful for research only).
Adam Kapelner