kmplot_raw function

Kaplan-Meier Plot with Number at Risk Table

Kaplan-Meier Plot with Number at Risk Table

kmplot_raw( fit, group.name = NULL, time.at = NULL, surv.df = NULL, col.pal = NULL )

Arguments

  • fit: a survfit object
  • group.name: Group labels. Default is Group 1, Group 2, ... Group k.
  • time.at: Time points to evaluate the number at risk.
  • surv.df: Data frame containing survival time, event and risk group for log-rank test.
  • col.pal: color palette to use
  • Maintainer: Nan Xiao
  • License: GPL-3 | file LICENSE
  • Last published: 2024-09-05