Sample number extractor for each class from a MAIT object

Share:

Description

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

Usage

1
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.

Author(s)

Francesc Fernandez, francesc.fernandez.albert@upc.edu

See Also

MAIT-class

Examples

1
2
3
data(MAIT_sample)
MAIT
classNum(MAIT)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.