print.cont_phase_type {PhaseTypeR} | R Documentation |
Print method for phase-type objects
Description
Print method for cont_phase_type
, disc_phase_type
,
mult_cont_phase_type
and mult_disc_phase_type
classes.
Usage
## S3 method for class 'cont_phase_type'
print(x, ...)
## S3 method for class 'disc_phase_type'
print(x, ...)
## S3 method for class 'mult_cont_phase_type'
print(x, ...)
## S3 method for class 'mult_disc_phase_type'
print(x, ...)
Arguments
x |
phase-type object |
... |
other arguments not used by this method |
Value
Prints the phase-type object as a list.
Examples
subintensity_matrix <- matrix(c(-1.5, 1.5, 0,
0, -1, 1,
0, 0, -0.5),
ncol = 3,
byrow = TRUE)
ph1 <- PH(subintensity_matrix)
print(ph1)
[Package PhaseTypeR version 1.0.4 Index]