print.seerSet.summary {SEERaBomb} | R Documentation |
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, ...)
Arguments
x |
seerSet.summary object produced by summary.seerSet(). |
... |
Included to match arg list of generic print. |
Value
None.
Author(s)
Tom Radivoyevitch (radivot@ccf.org)
See Also
SEERaBomb-package, summary.seerSet, seerSet
Examples
## 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
## End(Not run)
[Package SEERaBomb version 2019.2 Index]