print.sltime {survivalSL}R Documentation

S3 Method for Printing an 'sltime' Object

Description

Print the contribution of learners included in the super learner.

Usage

## S3 method for class 'sltime'
print(x,  digits=7, ...)

Arguments

x

An object returned by the function survivalSL.

digits

An optional integer for the number of digits to print when printing numeric values.

...

For future methods.

Value

No return value for this S3 method.

Examples

data(dataDIVAT2)

sl1 <- survivalSL(method=c("LIB_COXridge", "LIB_AFTggamma"),  metric="ci",
  data=dataDIVAT2[1:150,],  times="times", failures="failures", pro.time = 12,
  cov.quanti=c("age"),  cov.quali=c("hla", "retransplant", "ecd"), cv=3)

print(sl1, digits=4)

[Package survivalSL version 0.94 Index]