R Programming Week 3 Programming Assignment 2: Lexical Scoping

Introduction This second programming assignment will require you to write an R function that is able to cache potentially time-consuming computations. For example, taking the mean of a numeric vector is typically a fast operation. However, for a very long vector, it may take too long to compute the mean, especially if it has to …

Continue reading R Programming Week 3 Programming Assignment 2: Lexical Scoping