Description Usage Arguments Value Author(s) See Also Examples
View source: R/print.seerSet.summary.R
Renders data.frame of cases and median ages and survival times with a title above and notes below it. Also qplots PY versus years.
1 2 |
x |
seerSet.summary object produced by summary.seerSet(). |
... |
Included to match arg list of generic print. |
None.
Tom Radivoyevitch (radivot@ccf.org)
SEERaBomb-package, summary.seerSet, seerSet
1 2 3 4 5 6 7 8 9 10 11 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.