library(SEERaBomb)
simSeerSet() # without data, a simulated seerSet
# else, with data ...
load("~/data/SEER/mrgd/cancDef.RData") #load in canc
load("~/data/SEER/mrgd/popsae.RData") # load in popsae
# trim columns
library(dplyr)
canc=canc%>%select(-reg,-recno,-agerec,-numprims,-COD,
-age19,-age86,-radiatn,-ICD9,-db,-histo3)
popsae=popsae%>%select(-reg,-db)
seerSet(canc,popsae,Sex="male",ageStart=0,ageEnd=100)
Run the code above in your browser using DataLab