cvVAR function

Cross-Validated VAR Estimation using Elastic Net