I am using elasticnet package in R .How to choose lamba value in enet() function and how to get coef. values ..??
fit2=enet(new1,q$mariner,lambda=0.5)
fit2=enet(new1,q$mariner,lambda=0.5)
Though i have randomly chosen 0.5 ....but how should I choose the correct value and also how to check the coef of the selected variables