How does glmnet handle NA values?
1 answer
glmnet does not handle missing values. Or, you should only keep the records that are completed. for example with complete.cases () or do some kind of imputation on your missing values ββwith packages like mice, mi, amelia, etc. etc.
You can check out this post which discusses missing value handling and glmnet.
+7
source to share