# Simple question on plot from R's glmnet package

I have a very basic question concerning a glmnet plot, but somehow am not able to explain it to myself.

Currently, I work through the glmnet vignette.

I stumbled upon the following example:

cvfit = cv.glmnet(x, y)
plot(cvfit)


Note that the minimum lambda found is 0.08307. This value should be represented at the x-axis of the plot at the left dotted vertical line.

However, when I calculate, I get $\log(0.08307)= -1.080555$.

This is different to (ca.) -2.5 shown by the plot.

Any ideas why the plot shows other values? What am I getting wrong here?

• I think you'll get more answers if you edit your question and state explicitly that this is about the R package glmnet (web.stanford.edu/~hastie/glmnet/glmnet_alpha.html), and give a small reproducible example (i.e. a small, self-contained piece of code that produces the problem you describe) Jun 3, 2016 at 9:40
• Thx for the advice. Jun 3, 2016 at 10:01