dOptimalTwoLevel: Constructs a D-optimal two-level design with 'm' runs and 'm...

View source: R/dOptimal.R

dOptimalTwoLevelR Documentation

Constructs a D-optimal two-level design with m runs and m - 1 factors. The factor levels are coded as -1 and +1.

Description

Constructs a D-optimal two-level design with m runs and m - 1 factors. The factor levels are coded as -1 and +1.

Usage

dOptimalTwoLevel(m)

Arguments

m

A positive integer specifying the number of runs. The minimum value is 3.

Details

The candidate set is generated using all possible combinations of -1 and +1 for the factors. The D-optimal design is selected using AlgDesign::optFederov().

Value

A numeric matrix containing the D-optimal two-level design.

Examples

dOptimalTwoLevel(4)
dOptimalTwoLevel(8)

SCCDdesign documentation built on Sept. 21, 2026, 5:08 p.m.