Skip to content
Prev 351439 / 398502 Next

censboot function for bootstrapping Cox proportional Hazard Model

On May 31, 2015, at 2:10 PM, GeertSim wrote:

            
My guess (and one can only guess since there is no way to see the data) is that it has to do with attaching that dataframe and supplying arguments to the function (for instance 'event' and 'time` that are outside the evaluation environment that is expected inside the boot function. Using `attach` is generally unsafe and not appropriate for arguments passed into regression functions, especially so for boot-functions. More guesswork: I suspect that most of R-Core would rather that it did not exist.