ran_D2: Randomly Build a 2-level Design

Description Usage Arguments Value

View source: R/ran_d2.R

Description

This fucntion randomly builds a 2-level design that allws for unique or non unique runs.

Usage

1
ran_D2(n_rows, factors, unique = FALSE)

Arguments

n_rows

The number of rows you would like in the final design. If unique = TRUE then this is the upper bound.

factors

The number of factors you would like in the experiment

unique

Should replicate runs be allowed?

Value

A design data frame with the number of columns being the nubmer of factors.


vinny-paris/optrotvec documentation built on April 9, 2021, 4:34 a.m.