PlotNARs: Plot Two-Sample Numbers at Risk

View source: R/Plotting.R

PlotNARsR Documentation

Plot Two-Sample Numbers at Risk

Description

Plot Two-Sample Numbers at Risk

Usage

PlotNARs(
  data,
  x_breaks,
  arm_name = "arm",
  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.

status_name

Name of status column.

time_name

Name of time column.

x_labs

X-axis labels.

x_max

X-axis upper limit.

x_name

X-axis name.

y_labs

Y-axis labels.

Value

ggplot.


zrmacc/CICs documentation built on Nov. 6, 2024, 1:26 a.m.