PlotOneSampleCH: Plot One Sample Cumulative Hazard

View source: R/plot_cum_haz.R

PlotOneSampleCHR Documentation

Plot One Sample Cumulative Hazard

Description

Plot One Sample Cumulative Hazard

Usage

PlotOneSampleCH(
  data,
  color = "#0F9D58",
  status_name = "status",
  tau = NULL,
  time_name = "time",
  title = NULL,
  x_breaks = NULL,
  x_labs = NULL,
  x_name = "Time",
  x_max = NULL,
  y_name = "Cumulactive Hazard",
  y_lim = NULL
)

Arguments

data

Data.frame containing time and status.

color

Color for KM curve.

status_name

Name of status column.

tau

Truncation time.

time_name

Name of time column.

title

Plot title.

x_breaks

X-axis breaks.

x_labs

X-axis labels.

x_name

X-axis name.

x_max

X-axis upper limit.

y_name

Y-axis name.

y_lim

Y-axis limits.

Value

ggplot.


zrmacc/SurvUtils documentation built on Sept. 28, 2024, 8:43 a.m.