print {contTimeCausal}R Documentation

Print the Primary Results

Description

Print the primary results of a ctCoxMSM() or ctSFTM() analysis.

Usage

## S3 method for class 'ctc'
print(x, ...)

Arguments

x

An S3 object of class ctc. The value object returned by a call to ctCoxMSM() or ctSFTM().

...

ignored

Value

No return value, called to display key results.

Examples


 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)


[Package contTimeCausal version 1.1 Index]