An Introduction to Data Analysis using Anggregation Functios in R