Learn R Programming

SEERaBomb (version 2015.2)

print.seerSet.summary: Prints seerSet.summary objects

Description

Renders data.frame of cases and median ages and survival times with a title above and notes below it. Also qplots PY versus years.

Usage

## S3 method for class 'seerSet.summary':
print(x, \dots)

Arguments

x
seerSet.summary object produced by summary.seerSet().
...
Included to match arg list of generic print.

Value

  • None.

See Also

SEERaBomb-package, summary.seerSet, seerSet

Examples

Run this code
library(SEERaBomb)
load("~/data/SEER/mrgd/cancDef.RData") #load in canc
load("~/data/SEER/mrgd/popsae.RData") # load in popsae
canc=canc%>%select(-reg,-recno,-agerec,-numprims,-COD,
          -age19,-age86,-radiatn,-ICD9,-db,-histo3) 
popsa=popsae%>%group_by(db,race,sex,age,year)%>%summarize(py=sum(py)) # sum on regs
pm=seerSet(canc,popsa,Sex="male",ageStart=0,ageEnd=100) #pooled (races) male seerSet
pm # no print method for seerSet object, so we see the list
summary(pm) # print method for summary renders the summary and a plot of PY

Run the code above in your browser using DataLab