Learn R Programming

iDOVE (version 1.5)

print: Print the Primary Results of an idove() Analysis

Description

Print the primary results of an idove() analysis.

Usage

# S3 method for iDOVE
print(x, ...)

Value

No return value, called to display key results.

Arguments

x

An iDOVE object. The value object returned by a call to idove()

...

ignored

Examples

Run this code
# \dontshow{
  RcppArmadillo::armadillo_throttle_cores(2)
# }

data(idoveData)

set.seed(1234)
smp <- sample(1L:nrow(x = idoveData), size = 250L)

# NOTE: This sample size is chosen for example only -- larger data sets
# should be used.
# See the vignette for a full analysis of the idoveData dataset

# Fit the model with default settings
result <- idove(formula = intCens(entry.time, left.time, right.time, vaccine.time) ~ 1, 
                data = idoveData[smp,])

print(x = result)

Run the code above in your browser using DataLab