Skip to contents

Computes a string with the Kaplan–Meier median survival time and a 95% confidence interval based on Greenwood's variance with a log transformation.

Usage

AS.summary.KM(time, status, digits.fixed = 2)

Arguments

time

Follow-up times.

status

Event indicator (1 = event, 0 = censored).

digits.fixed

Number of decimal places for the summary. Default = 2.

Value

A string of the form "median (lower to upper)", with "NR" if not reached.