Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

validateBinaryTargetLevel

Validate arguments given as binary target level


Description

Helper function used to ensure that target binary class levels given by clients can be coerced to an integer and that the resulting integer is in {1, 2}.

Usage

validateBinaryTargetLevel(arg)

Arguments

arg

argument to potentially be used as new target level

Value

Binary target level (as integer equal to 1 or 2)


caretEnsemble

Ensembles of Caret Models

v2.0.1
MIT + file LICENSE
Authors
Zachary A. Deane-Mayer [aut, cre], Jared E. Knowles [aut]
Initial release
2019-12-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.