Displaying 1 result from an estimated 1 matches for "log_bsi_min3_to_base".
2007 Aug 16
1
Question about sm.options & sm.survival
...too naive. I am using a nonparametric smoothing
procedure in sm package to generate smoothed survival curves for continuous
covariate. I want to truncate the suvival curve and only display the part
with covariate value between 0 and 7. The following is the code I wrote:
sm.options(list(xlab="log_BSI_min3_to_base", xlim=c(0,7), ylab="Median
Progression Prob"))
sm.survival(min3.base.prog.cen[,3],min3.base.prog.cen[,2],min3.base.prog.cen[,1],h=sd(min3.base.prog.cen[,3]),status.code=1
)
But the xlim option does not work. Can anyone help me with this problem?
Thanks a lot.
Rachel
-- 
View this...