Finding the consensus classification using anonymous functions (CC284)

May 20, 2024 • PD Schloss • 1 min read

With 100 classification strings, we now need to find the consensus classification across those bootstrapped replicates. We’ll make use of anonymous functions with the base R lapply and sapply functions. Of course we’ll also make use of test driven development using the testthat package.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