Validates that an mctable contains required columns (mcnode, mc_func),
issues warnings for missing columns, and auto-fills missing optional columns
with NA.
Arguments
- data
(data frame). mctable with mcnode column (required) and optionally
mc_func, description, from_variable, transformation, sensi_baseline,
and sensi_variation. Default: required.
Value
The validated data frame with all standard mctable columns present,
with missing optional columns filled as NA.
Details
If mc_func is missing, all nodes are treated as deterministic (no uncertainty).
Optional columns are auto-filled with NA if absent.