nicholasjclark / MRFcov

Markov random fields with covariates
23 stars 5 forks source link

Numeric column names produce errors #22

Closed nicholasjclark closed 4 years ago

nicholasjclark commented 5 years ago

Any column names that start with a numeric (i.e. '14232') will come out of glmnet with an 'X' pasted to the front (i.e. 'X14232'). This will throw errors when re-ordering coefficient matrices to match the input data, typically with a message like 'undefined columns selected'.