Summary functions

The following are functions that can be used for creating summaries.