to Document
Builds the batch report document: the cross-dataset summary, and — when includePerDataset is true — a section per successful dataset reusing the single-result DTO-driven sections (data summary, ranked fits, MODA, and the recommended fit's goodness of fit). Per-dataset plots are not rendered here (the batch result carries no raw data); a caller holding a dataset's data can build that dataset's full document via FitResultData.toDocument.
Builds a standalone document for a FamilyFrequencyResult (the Bootstrap-tab analysis).
Builds the full report document from this result. Tables are always included; the goodness-of-fit detail and bootstrap summaries are added for the recommended fit (or every successful fit when allGoodnessOfFit is true); the four fit plots are added only when rawData is supplied.
Parameters
the client's original observations; required to render plots
document title; defaults to the dataset name
used to map a fit's family back to a distribution for plotting
when true, GoF/plots cover every successful fit