Here's an example using a database of tips that a waiter recorded ... The contributed documentation section on CRAN's website ...