Closed vincentarelbundock closed 9 years ago
I never saw this pull request -- sorry about that! Anyway, I agree that the user should be able to specify lambda in cv.grpreg, although the necessary fix is a little more complex than what you have, because mod_cv$lambda
needs to match mod_cv$fit$lambda
. Anyway, it's all fixed and on its way to CRAN now -- thanks for the suggestion, and my apologies again for the extreme delay in responding to you!
thanks for the fix!
Bug occurence:
Reason:
Line 46 of cv.grpreg:
Which passes lambda twice, once explicitly, and once more implicitly through
...
Solution: Just make lambda explicit in the cv.grpreg call.