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 |
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")
formula<-Surv(times,failures) ~ age + hla + retransplant + ecd
sl1 <- survivalSL(formula, data=dataDIVAT2[1:150,],
method=c("LIB_COXridge", "LIB_AFTggamma"),
metric="auc", pro.time = 12, cv=3)
print(sl1, digits=4)
[Package survivalSL version 0.98 Index]