We, here best direct readers to the very useful article and R-package:
https://glmnet.stanford.edu/articles/glmnet.html