experimentalDesign

fun ReportBuilder.experimentalDesign(design: ExperimentalDesignIfc, coded: Boolean = false, caption: String? = null)(source)

Appends a self-contained section describing the complete structure of design.

Produces (inside a section titled caption or "Experimental Design"):

  1. Overview paragraph — design type, number of factors, number of design points, and display scale

  2. (CCD only) Central Composite Design Configuration sub-section — factorial reps, axial reps, center reps, axial spacing α, factorial point count, axial point count (2k)

  3. Factors sub-section — DataTable (Factor | # Levels | Low | High | Mid Point | Half Range | Coded Levels), one row per factor

  4. Design Points sub-section — DataTable (Point | Reps | Type | Factor₁ | … | Factorₙ); the Type column (Factorial / Axial / Center) is present only when design is a CentralCompositeDesign; factor values are on the coded scale when coded = true, otherwise the original scale

Parameters

design

the ExperimentalDesignIfc to report

coded

false (default) = original measurement scale; true = coded (standardised −1/+1) scale

caption

optional section title; defaults to "Experimental Design"