updateCoef: Update lambda
Description
Internal function called by hbal
to residualize covariates.
Usage
updateCoef(old.coef, new.coef, counter)
Value
updated coefficients
Arguments
- old.coef
previous coefficients
- new.coef
new coefficients
- counter
which fold in CV
Author
Yiqing Xu, Eddie Yang