9.2
3 Examples
Each example below is a literate program: the prose and the code you see are the same source that lives in the package’s "glmnet/examples/" directory and is exercised by the test suite under "glmnet/examples/test/". Every example provides a run-example thunk, so you can run any of them directly or read them as documentation that is guaranteed to stay in sync with the code.