Last chance! 50% off unlimited learning
Sale ends in
CI.emprical
is used to compute the core interval boundaries for each class.
CI.emprical(ES, Y)
CI.emprical
returns an object of class ``data.frame'' which has P rows and 4 columns. The first two columns represent a1, the minimum boundary of the first class, and b1, the maximum boundary of the first class, respectively. Whereas, the last two columns represent a2, the minimum boundary of the second class, and b2, the maximum boundary of the second class, respectively.
data(lung)
GenesExpression <- lung[1:12533,] #define the features matrix
Class <- lung[12534,] #define the observations' class labels
CoreIntervals <- CI.emprical(GenesExpression, Class)
CoreIntervals[1:10,] #show classes' core interval for the first 10 features
Run the code above in your browser using DataLab