Here's a simple trick to get data.table aggregation to play nicely with multivariable functions.| Blair’s Science Desk
I teach you how to use the data.table package to get stats on groups of data.| Blair’s Science Desk