hadamardExperimentalDesign: Create a Hadamard Design

View source: R/hadamard_search.R

hadamardExperimentalDesignR Documentation

Create a Hadamard Design

Description

This method returns unique designs according to a Hadamard matrix. For debugging, you can use set.seed to be assured of deterministic output.

Usage

hadamardExperimentalDesign(X, strict = TRUE, form = "zero_one")

Arguments

X

The design matrix with $n$ rows (one for each subject) and $p$ columns (one for each measurement on the subject). The measurements aren't used to compute the Hadamard designs, only the number of rows.

strict

Hadamard matrices are not available for all $n$.

form

Which form should it be in? The default is one_zero for 1/0's or pos_one_min_one for +1/-1's.

Value

An matrix of dimension $R$ x $n$ where $R$ is the number of Hadamard allocations.

Author(s)

Adam Kapelner


GreedyExperimentalDesign documentation built on July 26, 2023, 5:48 p.m.