Closed w3iBStime closed 9 years ago
Due to what appears to be a bug in the quantile() function from the stats package, it doesn't seem to be a reliable way of determining if a numeric vector is non-varying.
Here's the bug I filed against the quantile() function: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=15746
...and here's where it gets used in gbm: https://github.com/harrysouthworth/gbm/blob/master/R/gbm.fit.R#L90-L100
This issue was moved to gbm-developers/gbm#12
Due to what appears to be a bug in the quantile() function from the stats package, it doesn't seem to be a reliable way of determining if a numeric vector is non-varying.
Here's the bug I filed against the quantile() function: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=15746
...and here's where it gets used in gbm: https://github.com/harrysouthworth/gbm/blob/master/R/gbm.fit.R#L90-L100