AZ county

County Grades vs Per Capita Income

Counties in AZ have varying average grades with some counties having lower/higher than others.

Slide With Code

dataset <- read.csv(file='AZ county grades.csv')
summary(dataset)
      Apache     A     
 Maricopa:110    A: 2  
 Pima    : 32   \tA:62  
 Pinal   : 12   \tB:83  
 Navajo  : 11   \tC:66  
 Yavapai : 11   \tD:10  
 Cochise :  8   \tF: 2  
 (Other) : 41          

Slide With Plot

plot of chunk unnamed-chunk-2

Solution

Maricopa has the highest average grades with about 56% of the county having an “A”. Apache has the lowest average grades with 25% of the county having an “A”.One probable cause to the average grades for each county could be per capita income. Based off data from 2010, Maricopa was the highest per capita income county in AZ with $27,816 and Apache was the lowest per capita income with $12,294.