print.survbin {Surrogate}R Documentation

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 class 'survbin'
print(x, ...)

Arguments

x

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

...

...

Value

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

Examples

## Not run: 
data("colorectal")
fit_bin <- survbin(data = colorectal, true = surv, trueind = SURVIND, surrog = responder,
                   trt = TREAT, center = CENTER, trial = TRIAL, patientid = patientid)
print(fit_bin)

## End(Not run)

[Package Surrogate version 3.2.5 Index]