seerStats: Summarize SEER data.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/seerStats.R

Description

Shows numbers of cases per cancer in each SEER database and PY in each registry. Sexes are pooled.

Usage

1
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.

Author(s)

Tom Radivoyevitch (radivot@ccf.org)

See Also

SEERaBomb-package, mk2D, plot2D

Examples

1
2
3
4
5
6
7
## Not run:  
library(SEERaBomb)
load("~/data/SEER/mrgd/cancDef.RData") #load in canc
load("~/data/SEER/mrgd/popsae.RData") # load in popsae
seerStats(canc,popsae)

## End(Not run)

SEERaBomb documentation built on Dec. 16, 2019, 1:21 a.m.