Learn R Programming

MAIT (version 1.6.0)

classNum: Sample number extractor for each class from a MAIT object

Description

Function classNum extracts the number of samples belonging to each class of a MAIT object as a vector.

Usage

classNum(MAIT.object)

Arguments

MAIT.object
A MAIT-class object

Value

A numeric vector containing the number of samples for each class of the MAIT object. The order of the classes correspond to that of the output of function classes.

See Also

MAIT-class

Examples

Run this code
data(MAIT_sample)
MAIT
classNum(MAIT)

Run the code above in your browser using DataLab