Integrating ideas from Stack Overflow to improve our R code (CC287)

May 30, 2024 • PD Schloss • 1 min read

Stack Overflow is a great source of information to get ideas on how to improve our R code. In this episode of Code Club, Pat will walk through how he uses suggestions from Stack Overflow to integrate the ideas into his own code. Surprisingly, for dividing a matrix by a vector he gets slightly different results from what was shown on Stack Overflow underscoring the value of doing your own benchmarking and profiling. This episode is part of an ongoing effort to develop an R package that implements the naive Bayesian classifier.


You can browse the state of the repository at the