rStats.js v1.3.0
    Preparing search index...

    Interface SurvfitResult

    Result of survfit: the rows of R's summary(fit, censored = TRUE) and the medians.

    interface SurvfitResult {
        lower: number[];
        median: number[][];
        medianRows: string[];
        nCensor: number[];
        nEvent: number[];
        nRisk: number[];
        stdErr: number[];
        stdError: number[];
        strata: string[];
        surv: number[];
        time: number[];
        upper: number[];
    }
    Index
    lower: number[]

    Lower limit of the pointwise confidence interval of S(t) (where S(t) = 1, 1 for each confType; with "log-log" as survival 3.8-12, NA before it)

    median: number[][]

    Per stratum, [median, lower limit, upper limit] (NaN for R's NA)

    medianRows: string[]

    The strata of median

    nCensor: number[]

    Number censored at the time (R's n.censor)

    nEvent: number[]

    Number of events at the time (R's n.event)

    nRisk: number[]

    Number at risk just before the time (R's n.risk)

    stdErr: number[]

    Standard error of S(t) (S times the standard error of log S)

    stdError: number[]

    Alias of stdErr: the same array.

    strata: string[]

    Stratum of each row ("group=<label>", or "all" for a single curve)

    surv: number[]

    Kaplan-Meier estimate S(t)

    time: number[]

    Time of each row (the distinct times of the stratum, censored ones included)

    upper: number[]

    Upper limit of the pointwise confidence interval of S(t)