soa: work horse function for SOAs

View source: R/soa.R

soaR Documentation

work horse function for SOAs

Description

work horse function for SOAs

Usage

soa(oa, t = 3, m = NULL, permlist = NULL, random = TRUE)

Arguments

oa

matrix or data.frame that contains an ingoing symmetric OA. Levels must be denoted as 0 to s-1 or as 1 to s.

t

the strength the SOA should have, can be 2, 3, 4, or 5. Must not be larger than the strength of oa, but can be smaller. The resulting SOA will have s^t levels

m

the requested number of columns (see details for permitted numbers of columns)

permlist

list of lists of permutations

random

logical

Details

The function is the workhorse function for function SOAs.

Value

a matrix


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