cacheSolve example

an example how to calculate mean & check cache