print {DOVE} | R Documentation |
Print the Primary Results of a dove() or dove2() Analysis
Description
Print the primary results of a dove() or dove2() analysis.
Usage
## S3 method for class 'DOVE'
print(x, ...)
Arguments
x |
An DOVE object. The value object returned by a call to dove() or dove2() |
... |
ignored |
Value
No return value, called to display key results.
Examples
data(doveData)
set.seed(1234)
smp <- sample(1:nrow(x = doveData), 500, FALSE)
# NOTE: This sample size is chosen for example only -- larger data sets
# should be used.
# See the vignette for a full dove() analysis of the doveData dataset
result <- dove(formula = Surv(event.time, event.status) ~ priority + sex +
vaccine(entry.time, vaccine.status, vaccine.time),
data = doveData[smp,])
print(x = result)
set.seed(1234)
smp <- sample(1L:nrow(x = doveData), size = 2500L)
# NOTE: This sample size is chosen for example only -- larger data sets
# should be used.
# See the vignette for a full dove2() analysis of the doveData dataset
# Fit the model with default settings
result <- dove2(formula = Surv(event.time, event.status) ~ priority + sex +
vaccine(entry.time, vaccine.status, vaccine.time),
data = doveData[smp,])
print(x = result)
[Package DOVE version 1.10 Index]