Learn R Programming

Surrogate (version 3.2.6)

print.survcat: Prints all the elements of an object fitted with the 'survcat()' function.

Description

Prints all the elements of an object fitted with the 'survcat()' function.

Usage

# S3 method for survcat
print(x, ...)

Value

The surrogacy measures with their 95% confidence intervals and the estimated treament effect on the surrogate and true endpoint.

Arguments

x

An object of class 'survcat' fitted with the 'survcat()' function.

...

...

Examples

Run this code
if (FALSE) {
data("colorectal4")
fit <- survcat(data = colorectal4, true = truend, trueind = trueind, surrog = surrogend,
               trt = treatn, center = center, trial = trialend, patientid = patid)
print(fit)
}

Run the code above in your browser using DataLab