SteffenMoritz / ridge

CRAN R Package: Ridge Regression with automatic selection of the penalty parameter
GNU General Public License v2.0
18 stars 11 forks source link

bugfix: prevent error when predict one point #1

Closed jeromepaul closed 6 years ago

jeromepaul commented 6 years ago

add drop=FALSE so that as.matrix(mm) %*% beta doesn't fail when X has only one row

SteffenMoritz commented 6 years ago

Thx.