classNames: Returns the names of classes

Description Usage Arguments Value

View source: R/Utils.R

Description

This function returns the names of classes in a nominal and binary target variable. The vector is ordered: the majority class name is in the first position, and the minority class in the second.

Usage

1
classNames(form, ds)

Arguments

form

A model formula

ds

A data.frame object with the training data

Value

A vector


nunompmoniz/autoresampling documentation built on April 26, 2021, 4:43 a.m.