Skip to content
Prev 29275 / 29559 Next

Calculating median age for a group of US census blocks?

Yes, I see what you mean:

 > median(c(60, 50, 40, 20, 20, 20))
[1] 30
 > median(c(50, 50, 50, 20, 20, 20))
[1] 35
 >

Thanks so much for that clear example.

-Kevin
On 8/7/23 14:45, Sean Trende wrote:
Message-ID: <01000189d1580211-8b8fa766-f820-4ae9-862b-e98e1a4881bf-000000@email.amazonses.com>
In-Reply-To: <BLAPR20MB39382F6CD501D6B1ED8F2C11BE0CA@BLAPR20MB3938.namprd20.prod.outlook.com>