O'Reilly logo
  • Gabrielle Yang thinks this is interesting:

Listing 6.4. Function to build single-variable models for categorical variables

From

Cover of Practical Data Science with R

Note

in the function, note #4, why to add 1.0e-3 * pPos and 1.0e-3?