checkFitFun: Check whether supplied prediction function meets the...

View source: R/checkFuns.R

checkFitFunR Documentation

Check whether supplied prediction function meets the requirements

Description

Check whether supplied prediction function meets the requirements

Usage

checkFitFun(fitFun, reqArgs = c("y", "x"))

Arguments

fitFun

The prediction function, or its name as character string

reqArgs

The vector of required arguments

Value

Throws an error when requirements not met, otherwise returns the function


oosse documentation built on May 29, 2024, 10:35 a.m.