Learn R Programming

mstate (version 0.3.3)

print.MarkovTest: Print method for a MarkovTest object

Description

Print method for an object of class 'MarkovTest'

Usage

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

Value

No return value

Arguments

x

Object of class 'markovTest', as obtained by call to MarkovTest

...

Further arguments to print

Author

Hein Putter H.Putter@lumc.nl

See Also

MarkovTest

Examples

Run this code

if (FALSE) {
# Example provided by the prothrombin data
data("prothr")
# Apply Markov test to grid of monthly time points over the first 7.5 years
year <- 365.25
month <- year / 12
grid <- month * (1:90)
# Markov test for transition 1 (wild bootstrap based on 25 replications for brevity)
MT <- MarkovTest(prothr, id = "id", transition = 1,
                 grid = grid, B = 25)
MT
}

Run the code above in your browser using DataLab