print.seerSet.summary: Prints seerSet.summary objects

Description Usage Arguments Value Author(s) See Also Examples

View source: R/print.seerSet.summary.R

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

1
2
## 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

 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)

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