The surreal
package (CRAN, GitHub) allows you to hide secret messages or images in your data that can only be revealed when you plot the residuals of a linear model. It’s a fun way to add a little mystery to your data analysis projects. This package is based on the “Residual (Sur)Realism” algorithm described by Stefanski (2007). To get started, check out the package documentation.
I’ve wanted to create …