0

I'm playing around with the standard plots in glmnet and am having an issue - axes and labels aren't being displayed.

If I try:

cv <- cv.glmnet(x, y, alpha = 1, family = "binomial", type.measure = "class")
plot(cv)

mod <- glmnet(x, y, alpha = 0, family = "binomial")
plot(mod)

I get:

cv

and

mod

Any ideas?

I'm using R 3.5.0.and glmnet v.2.0-16.

LucaS
  • 887
  • 1
  • 9
  • 22

1 Answers1

0

Just run dev.off() before the plot() command.

nghauran
  • 6,648
  • 2
  • 20
  • 29