Learn R Programming

oosse (version 1.0.11)

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