pbreheny / ncvreg

Regularization paths for SCAD- and MCP-penalized regression models
http://pbreheny.github.io/ncvreg
41 stars 28 forks source link

Manual color palette not recycled correctly #40

Closed pbreheny closed 1 year ago

pbreheny commented 1 year ago

For example:

library(ncvreg)
data(Prostate)
fit <- ncvreg(Prostate$X, Prostate$y)
plot(fit, col=c('red', 'blue'))

Only the first two features show up.