binaryMatchExperimentalDesignSearch: Begin a Search for Binary Matching Designs

Description Usage Arguments Value Author(s)

View source: R/binary_match_search.R

Description

This method creates an object of type binary_experimental_design and will find pairs. You can then use the function resultsBinaryMatchSearch to create randomized allocation vectors. For one column in X, we just sort to find the pairs trivially.

Usage

1
binaryMatchExperimentalDesignSearch(X, compute_dist_matrix = NULL)

Arguments

X

The design matrix with $n$ rows (one for each subject) and $p$ columns (one for each measurement on the subject). This is the design matrix you wish to search for a more optimal design.

compute_dist_matrix

The function that computes the distance matrix between every two observations in X, its only argument. The default is NULL signifying euclidean squared distance optimized in C++.

Value

An object of type binary_experimental_design which can be further operated upon.

Author(s)

Adam Kapelner


GreedyExperimentalDesign documentation built on Jan. 13, 2021, 5:57 a.m.