PlotNARs: Plot Two Sample Number at Risk

View source: R/PlotMCF2.R

PlotNARsR Documentation

Plot Two Sample Number at Risk

Description

Plot Two Sample Number at Risk

Usage

PlotNARs(
  data,
  x_breaks,
  arm_name = "arm",
  idx_name = "idx",
  status_name = "status",
  time_name = "time",
  x_labs = NULL,
  x_max = NULL,
  x_name = NULL,
  y_labs = c("Ctrl", "Trt")
)

Arguments

data

Data.frame.

x_breaks

X-axis breaks.

arm_name

Name of arm column.

idx_name

Name of index (subject identifier) column in data.

status_name

Name of status column.

time_name

Name of time column.

x_labs

X-axis tick labels.

x_max

X-axis upper limit.

x_name

X-axis label.

y_labs

Y-axis tick labels.

Value

ggplot.


zrmacc/MCC documentation built on July 16, 2025, 4:04 p.m.