MCFCurve: MCF Curve

View source: R/PlotMCF1.R

MCFCurveR Documentation

MCF Curve

Description

Construct a function to evaluate the mean cumulative function at a given time for a single treatment arm.

Usage

MCFCurve(
  data,
  idx_name = "idx",
  status_name = "status",
  time_name = "time",
  weights = NULL
)

Arguments

data

Data.frame.

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.

weights

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

Value

stepfun.


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