Learn R Programming

SEERaBomb (version 2016.1)

stdUS: The standard population of the US in 2000

Description

The US population in 2000 for ages up to 100 years. Sexes are pooled.

Usage

stdUS

Arguments

Format

A data frame with the following columns.
age
Sigle-year resolution ages up to 100.
pop
The population within each age group.
prop
Proportion of the total population within each age group.

Details

This population data can be used to map age specific incidence rate vectors into summarizing scalars. It allows cancer incidence rates across different SEER registries to be compared without concerns of differences in age distributions of the populations.

References

http://seer.cancer.gov/stdpopulations/

Examples

Run this code
library(SEERaBomb)
with(stdUS,plot(age,pop/1e6,type="l",xlab="Age",
     ylab="People (Millions)",main="US Population in 2000"))
library(dplyr)
stdUS%>%filter(age>=85)%>%summarize(weighted.mean(age,w=pop)) 
### so ave age >=85.0 is 89.4

Run the code above in your browser using DataLab