50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

doofa (version 1.0)

coa: construct a component orthogonal array with m components

Description

construct a component orthogonal array with m components such that each pair of columns contains each (i != j) combinations lambda times

Usage

coa(m, lambda, ntrial)

Value

a component orthogonal array with m components

Arguments

m

a positive integer, currently supports less than 8

lambda

a positive integer, usually 1

ntrial

a positive integer, default is 10

Examples

Run this code
coa(m = 4, lambda = 1, ntrial = 10);

Run the code above in your browser using DataLab