Learn R Programming

survivalSL (version 0.97.1)

print.libsl: S3 Method for Printing an 'libsl' Object

Description

Print the model or algorithm.

Usage

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

Value

No return value for this S3 method.

Arguments

x

An object returned by the function flexsurv.

...

For future methods.

See Also

LIB_AFTgamma, LIB_AFTggamma, LIB_AFTllogis, LIB_AFTweibull, LIB_PHexponential, LIB_PHgompertz.

Examples

Run this code
data(dataDIVAT2)

model <- LIB_AFTgamma(times="times", failures="failures",  data=dataDIVAT2[1:100,],
        cov.quanti=c("age"),  cov.quali=c("hla", "retransplant", "ecd"))

print(model)

Run the code above in your browser using DataLab