Build Methods Text From Workflow Context
Source:R/margot_policy_methods_builder.R
margot_build_method_explanation.RdConstructs detailed, parameter-aware methods text suitable for scientific reporting and preregistration, based on the actual objects and settings used in `margot_policy_workflow()`. Returns long, short, and prereg variants.
Arguments
- stability
A `margot_stability_policy_tree` object.
- best
The result of `margot_policy_summary_compare_depths()`.
- summary
The result of `margot_policy_summary_report()`.
- context
List of key settings used by the workflow: `se_method`, `R`, `audience`, `min_gain_for_depth_switch`, `prefer_stability`, `dominance_threshold`, `strict_branch`, `restricted_scope_1`, `restricted_scope_2`, `show_neutral`, `expand_acronyms`.
- citations
Logical; include inline citations (default TRUE).