Register a plugin engine for fmri_lm
Usage
register_engine(name, fit, preflight = NULL, capabilities = list())Arguments
- name
Character scalar identifier advertised to users (e.g. "friman").
- fit
Function invoked as
fit(model, dataset, args, cfg)and expected to return anfmri_lmobject.- preflight
Optional function invoked before fitting; receives the same arguments as
fitand can signal errors early.- capabilities
Optional named list describing the engine (for future use).