Learn R Programming

SEERaBomb (version 2019.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 seerSet.summary
print(x, …)

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
# NOT RUN {
library(SEERaBomb)
load("~/data/SEER/mrgd/cancDef.RData") #load in canc
load("~/data/SEER/mrgd/popsae.RData") # load in popsae
canc=canc%>%select(casenum,race:histo3,surv,cancer,trt,id) 
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