checkFitFun: Check whether supplied prediction function meets the requirements
Description
Check whether supplied prediction function meets the requirements
Usage
checkFitFun(fitFun, reqArgs = c("y", "x"))Value
Throws an error when requirements not met, otherwise returns the function
Arguments
- fitFun
The prediction function, or its name as character string
- reqArgs
The vector of required arguments