Plotting with Histograms
#histogram of the data- to visualize the distribution and frequency of a specific variable
hist(Fees15$Fees)

#divide the data into two groups
hist(Fees15$Fees, breaks = 2)

#add a label to the x-axis, we'll call it receivables
hist(Fees15$Fees, breaks = 2, xlab = "Receivables")

#add a title for your histogram, we'll call it 2015 Receivables
hist(Fees15$Fees, breaks = 2, xlab = "Receivables", main = "2015 Receivables")

#If you want to get fancy and color the graph, you can add col = "color" <- but insert a color you want
hist(Fees15$Fees, breaks = 2, xlab = "Receivables", main = "2015 Receivables", col = "pink")

Summary
from page 4 of notes
summary(Fees15$Assets)
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 4.200e+01 1.712e+08 9.132e+08 1.119e+10 3.819e+09 3.220e+12
#descriptions of summary output
#Min. is your minimum, or smallest value in the variable Assets (in this example it would be 42)
#1st Qu. is your first Quartile- the lowest 25% of your data
#Median is the median value for the variable
#Mean is your mean
#3rd Qu. is the 3rd quartile- the highest 25% of your data (everyone in 75% and above)
#Max. is your maximum value (in this case it's 3.22 x 10 ^ 12)