gradeBus takes in the inspection score for one restaurant, the ZIP
code for the restaurant, a data frame of ZIP
code cutoff information and returns the grade for the business in question.gradeBus(x.bar.i, z.i, zip.cutoffs)gradeBus takes one inspection score for a restaurant (this may be a
mean or the result of a single inspection), the restaurant's ZIP code and a
dataframe of ZIP code cutoffs. It compares each restaurant's inspection score
to cutoff scores in the restaurant's ZIP code. It finds the smallest cutoff
score in the restaurant's ZIP code that the restaurant's inspection score is
less than or equal to - let's say this is the (letter.index)th cutoff
score - and returns the (letter.index)th letter of the alphabet as the
grade for the restaurant. gradeBus is the function called by
gradeAllBus in order to grade all businesses.