Description Usage Arguments Author(s) Examples
Plotting the cumulative baselines excess hazard
1 2 3 4 |
x |
matchpropexc object |
se |
to include standard errors |
time |
to plot for specific time variables |
add |
to add to previous plot |
ylim |
to give ylim |
lty |
to specify lty of components |
col |
to specify col of components |
legend |
to specify col of components |
ylab |
to specify ylab |
polygon |
to get standard error in shaded form |
level |
of standard errors |
stratas |
wich strata to plot (number or vector between 0 and nstrata-1) |
relsurv |
set to FALSE. If TRUE relative survival curves are plotted. |
hline |
set to TRUE. An horizontal line is plotted (1 if relative survival, 0 if excess risk) |
... |
Additional arguments to lower level funtions |
Cristina
1 2 3 4 5 6 7 8 9 | dhaz<-sim.data.MatchH(nca=5000, ncont=5)
setdhaz<-compdata(Surv(time, status)~z+cc, data=dhaz, idControl = j, clust=id)
m <- matchpropexc(Surv(entry,exit,status)~strata(z)+cc,data=setdhaz)
excplot(m, se=TRUE, col=c("green","blue"), main="with polygon CI")
excplot(m, se=TRUE, time=seq(0,30,1), main="at specific time-points")
excplot(m, se=TRUE, relsurv=TRUE, main="relative surv.")
excplot(m, se=TRUE, polygon=FALSE, main="with CI - no polygon")
excplot(m, se=FALSE, main="No CI")
excplot(m, se=TRUE, stratas=1, main="plot the second strata")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.