Two episodes ago, Ellis Hughes and I briefly discussed function factories — a function that returns a function — and we got a few questions about how to use them and how to construct them. The good new is that you’ve probably been using function factories in your normal R coding and never knew it! This week we go a little deeper into function factories and answer some viewer questions about them.
To watch our screen cast, CLICK HERE.
To access our code, CLICK HERE.