View source: R/hadamard-matrix-helpers.R
find_minimum_hadamard_order | R Documentation |
Identifies the order of the smallest Hadamard
matrix available in the 'survey' package, such that
the order is greater than or equal to n
.
This is useful for identifying the minimum number of
replicates that can be constructed for replication methods
such as BRR or Fay's generalized replication method.
find_minimum_hadamard_order(n)
n |
A single positive integer. |
To get the Hadamard matrix of this size with the 'survey' package,
use survey::hadamard(k - 1)
, where k
is the
output of find_minimum_hadamard_order()
.
A single positive integer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.