Hello,
So I was wondering if there was a simpler way to find the mean of all the USA states mean of each population.
So we have a bunch of counties here is a example of how the data.frame is organized
county.name state.name state.abbr pop.size pop.density poverty age.19_under
1 Autauga Alabama AL 48612 82 10.4 26.9
2 Baldwin Alabama AL 162586 102 10.2 23.5
3 Barbour Alabama AL 28414 32 22.1 24.3
I would like to know if there is a way to get the mean of each states pop.size without having to write out each mean by creating a bunch of new data.frames.
Is is grouping the numbers together in the post but they are seperate. It is not all one number