num_examples_majority: The Number of Observations in the Majority Class.

Description Usage Arguments Value

Description

num_examples_majority computes the number of examples in the majority class. It assumes the number of classes in the input data set is two.

Usage

1

Arguments

y

A vector (or factor) determining the class of each example in the data.

Value

The number of examples in the majority class.


RomeroBarata/dcme documentation built on May 9, 2019, 2:24 p.m.