rstats

Pipe-esque Programming with {ggplot2}’s Plus Operator

Writing iterative code with '+' rather than '%%' was a tough transition my first time around.

Big Things (Developer Documentation pt. 4)

On the tension between documenting R packages exhaustively and maintainably.

Naming the Things (Developer Documentation pt. 3)

Weighing the pros and cons of several possible schemas for naming the core functions in {stacks}.

Splitting Things Up (Developer Documentation pt. 2)

Why {stacks} requires (at least) four separate functions to build an ensemble model rather than wrapping them all up into one.

How {stacks} Came To Be (Developer Documentation pt. 1)

Introducing a set of blog posts reflecting on the development process of the {stacks} package.

Running R Scripts on a Schedule with GitHub Actions

Some pointers on running R scripts and committing their results to a GitHub repository on a regular interval using Actions.

{stacks} v0.1.0 is on CRAN!

Introducing ensemble learning to the tidymodels.

Programatically Generating PDF Reports with the Tidyverse

In a few different roles over the past few years, I've come across the problem of programatically generating some kind of PDF reports from data. Here are some tips/tricks I've come across while making that happen.

A Gentle Introduction to Tidy Model Stacking

Model stacking is an ensembling technique that involves training a model to combine the outputs of many diverse statistical models. The stacks package implements a grammar for tidymodels-aligned model stacking.