Plotting the baselines of stratified Cox
basehazplot.phreg(
x,
se = FALSE,
time = NULL,
add = FALSE,
ylim = NULL,
xlim = NULL,
lty = NULL,
col = NULL,
lwd = NULL,
legend = TRUE,
ylab = NULL,
xlab = NULL,
polygon = TRUE,
level = 0.95,
stratas = NULL,
robust = FALSE,
conf.type = c("plain", "log"),
...
)
phreg object
to include standard errors
to plot for specific time variables
to add to previous plot
to give ylim
to give xlim
to specify lty of components
to specify col of components
to specify lwd of components
to specify col of components
to specify ylab
to specify xlab
to get standard error in shaded form
of standard errors
wich strata to plot
to use robust standard errors if possible
"plain" or "log" transformed
Additional arguments to lower level funtions
data(TRACE)
dcut(TRACE) <- ~.
out1 <- phreg(Surv(time,status==9)~vf+chf+strata(wmicat.4),data=TRACE)
par(mfrow=c(2,2))
bplot(out1)
bplot(out1,stratas=c(0,3))
bplot(out1,stratas=c(0,3),col=2:3,lty=1:2,se=TRUE)
bplot(out1,stratas=c(0),col=2,lty=2,se=TRUE,polygon=FALSE)
bplot(out1,stratas=c(0),col=matrix(c(2,1,3),1,3),lty=matrix(c(1,2,3),1,3),se=TRUE,polygon=FALSE)