# load gglasso library
library(gglasso)
# load data set
data(colon)
# how many samples and how many predictors ?
dim(colon$x)
# how many samples of class -1 and 1 respectively ?
sum(colon$y==-1)
sum(colon$y==1)
Run the code above in your browser using DataLab