Learn R Programming

Surrogate (version 3.2.5)

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

Description

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

Usage

# S3 method for survbin
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 'survbin' fitted with the 'survbin()' function.

...

...

Examples

Run this code
if (FALSE) {
data("colorectal")
fit_bin <- survbin(data = colorectal, true = surv, trueind = SURVIND, surrog = responder,
                   trt = TREAT, center = CENTER, trial = TRIAL, patientid = patientid)
print(fit_bin)
}

Run the code above in your browser using DataLab