全部版块 我的主页
论坛 提问 悬赏 求职 新闻 读书 功能一区 经管百科 爱问频道
471 0
2021-11-05
  • <- ggplot(sdata, aes(x = time, y = 1-surv,group = strata, colour = strata)) +
  •       geom_step(size = 1) +
  •       scale_x_continuous(xlab, breaks = times, limits = c(0, max(times)), expand = c(0, 0)) +
  •       scale_y_continuous(ylab, breaks=seq(0,1,by=0.2), limits=c(0,1),
  •                          labels=c(as.character(seq(0,0.8,by=0.2)),"1.0"),expand = c(0, 0)) +
  •       theme_classic() +
  •       theme(axis.title.x = element_text(vjust = 0.5)) +
  •       theme(panel.grid.minor = element_blank(http://lx.gongxuanwang.com/sszt/7.htm
  • )) +
  •       theme(legend.position = c(ifelse(m < 10, .28, .15), ifelse(d < 4, .75, .95))) +
  •       theme(legend.key = element_rect(colour = NA)) +
  •       ggtitle(tabletitle)+
  •       geom_point(data = subset(sdata, n.censor != 0), aes(x = time, y = 1-surv), shape = 3)
  •    
  •   }else{
  •     p <- ggplot(sdata, aes(x = time, y = surv,group = strata, colour = strata)) +
  •       geom_step(size = 1) +http://lx.gongxuanwang.com/sszt/7.htm

  •       scale_x_continuous(xlab, breaks = times, limits = c(0, max(times)), expand = c(0, 0)) +
  •       scale_y_continuous(ylab, breaks=seq(0,1,by=0.2), limits=c(0,1),
  •                          labels=c(as.character(seq(0,0.8,by=0.2)),"1.0"),expa

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群