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