harrelfe/rms — pull request #5 by smcintosh (2014-07-25 01:56:19+00:00)
Title: predab.resample() expects 'tolerance' to be passed along as 'tol'

I discovered this small bug when attempting to use validate() to perform bootstrapped backwards variable selection on a model built using ols(). The underlying solvet() function call was failing with the below error message:

Error in solvet(cov[q, q], beta[q], tol = eps) :
apparently singular matrix

The solution was to provide a lower tolerance threshold, however the documented 'tolerance' parameter for validate.ols() was not being passed along the call chain. This small change fixed the issue for me in my local environment.