Three (four?) R functions I enjoyed this week