MCFPlotFrame: MCF Plotting Frame

View source: R/PlotMCF1.R

MCFPlotFrameR Documentation

MCF Plotting Frame

Description

Constructs the MCF plotting frame for a single treatment arm.

Usage

MCFPlotFrame(
  data,
  eval_points = 1000,
  idx_name = "idx",
  status_name = "status",
  tau = NULL,
  time_name = "time",
  weights = NULL
)

Arguments

data

Data.frame.

eval_points

Number of points at which to evaluate the curve.

idx_name

Name of index (subject identifier) column in data.

status_name

Name of status column in data.

tau

Truncation time.

time_name

Name of column column in data.

weights

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

Value

Data.frame containing 'time' and 'mcf'.


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