Register an External HRF Specification Type
Source:R/extension_registry.R
register_hrfspec_extension.RdRegister a new HRF specification class that can be used in event models. This allows external packages to extend fmridesign with their own HRF types.
Usage
register_hrfspec_extension(
spec_class,
package,
convolved_class = NULL,
requires_external_processing = FALSE,
formula_functions = NULL
)Arguments
- spec_class
Character string naming the class to register
- package
Character string naming the package providing the class
- convolved_class
Optional character string naming the associated convolved term class
- requires_external_processing
Logical indicating if this spec should be skipped during standard convolution (e.g., for AFNI terms that are processed externally)
- formula_functions
Optional character vector of function names that should be recognised in formulas and mapped to this HRF specification class.