scenario_to_formula: Scenario-to-formula mapping for backward compatibility
Description
Maps legacy scenario strings to formula and effects specifications.
Usage
scenario_to_formula(scenario, nxgrid, nygrid, limits = NULL)
Value
List with `formula`, `effects`, and `intercept` components.
Arguments
- scenario
Character vector of scenario names.
- nxgrid
Number of x grid points.
- nygrid
Number of y grid points.
- limits
Optional limits function for ff terms.