PlotOneSampleAUMCF: Plot One Sample Area Under the Mean Cumulative Function

View source: R/PlotMCF1.R

PlotOneSampleAUMCFR Documentation

Plot One Sample Area Under the Mean Cumulative Function

Description

Plot area under the mean cumulative function for a single treatment arm.

Usage

PlotOneSampleAUMCF(
  data,
  color = "#C65842",
  color_lab = "Arm",
  idx_name = "idx",
  status_name = "status",
  time_name = "time",
  title = NULL,
  tau = NULL,
  weights = NULL,
  x_breaks = NULL,
  x_lim = NULL,
  x_name = "Time",
  y_breaks = NULL,
  y_lim = NULL,
  y_name = "Mean Cumulative Count"
)

Arguments

data

Data.frame.

color

Color.

color_lab

Color label.

idx_name

Name of index (subject identifier) column in data.

status_name

Name of status column in data.

time_name

Name of column column in data.

title

Plot title.

tau

Truncation time for shading.

weights

Optional column of weights, controlling the size of the jump in the cumulative count curve at times with status == 1.

x_breaks

X-axis breaks.

x_lim

X-axis limits.

x_name

X-axis label.

y_breaks

Y-axis breaks.

y_lim

Y-axis limits.

y_name

Y-axis label.

Value

ggplot object.


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