gcv function

Estimates the penalty coefficient from the generalized cross-validation criterion