Updated function description based on info from Hadley Wickham’s
“Advanced R”.