View source: R/helper_functions.R
validateBinaryTargetLevel | R Documentation |
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}.
validateBinaryTargetLevel(arg)
arg |
argument to potentially be used as new target level |
Binary target level (as integer equal to 1 or 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.