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 engine support for global
fmri_lm()options. Recognized fields currently includerobust,preprocessing,ar_voxelwise,ar_by_cluster, plus contextual rules such asrequires_event_regressors,requires_parcels_for_by_cluster, andforbid_by_cluster_dataset_classes.