print {contTimeCausal} | R Documentation |
Print the primary results of a ctCoxMSM() or ctSFTM() analysis.
## S3 method for class 'ctc'
print(x, ...)
x |
An S3 object of class ctc. The value object returned by a call to ctCoxMSM() or ctSFTM(). |
... |
ignored |
No return value, called to display key results.
data(ctcData)
# sample data to reduce computation time of example
smp <- ctcData$id %in% sample(1:1000, 150, FALSE)
ctcData <- ctcData[smp,]
# analysis with both time-dependent and time-independent components
res <- ctCoxMSM(data = ctcData, base = "x", td = "xt")
print(x = res)
# analysis with both time-dependent and time-independent components
res <- ctSFTM(data = ctcData, base = "x", td = "xt")
print(x = res)