print.summary_regmedint {regmedint} | R Documentation |
Print method for summary objects from summary.regmedint
Description
Print results contained in a summary_regmedint
object with additional explanation regarding the evaluation settings.
Usage
## S3 method for class 'summary_regmedint'
print(x, ...)
Arguments
x |
An object of the class |
... |
For compatibility with the generic function. |
Value
Invisibly return the first argument.
Examples
library(regmedint)
data(vv2015)
regmedint_obj <- regmedint(data = vv2015,
## Variables
yvar = "y",
avar = "x",
mvar = "m",
cvar = c("c"),
eventvar = "event",
## Values at which effects are evaluated
a0 = 0,
a1 = 1,
m_cde = 1,
c_cond = 0.5,
## Model types
mreg = "logistic",
yreg = "survAFT_weibull",
## Additional specification
interaction = TRUE,
casecontrol = FALSE)
## Implicit printing
summary(regmedint_obj)
## Explicit printing
print(summary(regmedint_obj))
[Package regmedint version 1.0.1 Index]