PlotOneSampleNARs: Plot Two Sample Numbers at Risk

View source: R/plot_nars.R

PlotOneSampleNARsR Documentation

Plot Two Sample Numbers at Risk

Description

Plot Two Sample Numbers at Risk

Usage

PlotOneSampleNARs(
  data,
  specified_nars = NULL,
  status_name = "status",
  time_name = "time",
  x_breaks = NULL,
  x_labs = NULL,
  x_max = NULL,
  x_name = NULL,
  y_lab = "NAR"
)

Arguments

data

Data.frame.

specified_nars

Optional data.frame of specified NARs. Should include "time" and "nar". Overrides data if present.

status_name

Name of status column.

time_name

Name of time column.

x_breaks

X-axis breaks.

x_labs

X-axis labels.

x_max

X-axis upper limit.

x_name

X-axis name.

y_lab

Y-axis label.

Value

ggplot.


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