Shows numbers of cases per cancer in each SEER database and PY in each registry. Sexes are pooled.
Usage
seerStats(canc,popsa)
Arguments
canc
Data frame of cancers that includes agedx and cancer columns.
popsa
Data frame of population PY at 1-year age resolution.
Value
A list of 2 data.frames with sexes pooled, one of cases with cancer types as rows and as columns, databases, totals, cases >=100 years old or not, and numbers of first-, second-, third- and higher cancers. The second data.frame holds population PY, and PY-weighted ages, per registry.
# NOT RUN {library(SEERaBomb)
load("~/data/SEER/mrgd/cancDef.RData") #load in cancload("~/data/SEER/mrgd/popsae.RData") # load in popsaeseerStats(canc,popsae)
# }