Respectfully, I think there may be an error in the gglasso and cv.gglasso documentation. The documentation specifies that y should be a two-level factor for classification. However, gglasso throws an error if y is any class other than numeric, and the example given for logistic regression with the colon data set supplies a numeric y with values of -1 and 1.
Respectfully, I think there may be an error in the gglasso and cv.gglasso documentation. The documentation specifies that y should be a two-level factor for classification. However, gglasso throws an error if y is any class other than numeric, and the example given for logistic regression with the
colon
data set supplies a numeric y with values of -1 and 1.Thanks for the great package!