kmplot_raw: Kaplan-Meier Plot with Number at Risk Table

View source: R/4_7_kmplot.R

kmplot_rawR Documentation

Kaplan-Meier Plot with Number at Risk Table

Description

Kaplan-Meier Plot with Number at Risk Table

Usage

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


hdnom documentation built on April 24, 2023, 9:09 a.m.