factor

fun ReportBuilder.factor(factor: Factor, caption: String? = null)(source)

Appends a single section describing all properties of factor.

Produces (inside a section titled caption or the factor's name):

  • DataTable (headers: Property | Value): name, levels (comma-separated), number of levels, low, high, mid point, half range, coded levels (comma-separated)

This building block is usable before any simulation has been run — it reports the current configuration of the factor only. Call it from inside a section {} block or at the top level of a report {} block.

Parameters

factor

the Factor to report

caption

optional section title; defaults to the factor's name