OSOApb: function to create a strength 3 OSOA with 8-level columns...

View source: R/OSOApb.R

OSOApbR Documentation

function to create a strength 3 OSOA with 8-level columns from a Hadamard matrix

Description

A Hadamard matrix in m runs is used for creating an OSOA in n=2m runs for at most m-2 columns.

Usage

OSOApb(m = NULL, n = NULL, el = 3)

Arguments

m

the number of columns to be created; if n is also given, m must be compatible with it

n

the number of runs to be created (must be a multiple of 8); if m is also given, n must be compatible with it

el

exponent for 2, can be 2 or 3: the OSOA will have columns with 2^el (4 or 8) levels

Details

At least one of m or n must be provided. For el=2, Zhou and Tang (2019) strength 3- designs are created, for el=3 strength 3 designs by Li, Liu and Yang (2021).

Value

an OSOA of strength 3- or 3 (matrix)

Note

Replaced by OSOAs_hadamard; eventually remove

Author(s)

Ulrike Groemping

References

Li, Liu and Yang (2021)

Examples

dim(OSOApb(9))  ## 9 8-level factors in 24 runs
dim(OSOApb(n=16)) ## 6 8-level factors in 16 runs
dim(OSOApb(m=35)) ## 35 8-level factors in 80 runs


SOAs documentation built on Aug. 11, 2023, 1:09 a.m.