An Introduction to Data Analysis using Aggregation Functions in R