Print method for cont_phase_type
, disc_phase_type
,
mult_cont_phase_type
and mult_disc_phase_type
classes.
phase-type object
other arguments not used by this method
Prints the phase-type object as a list.
subintensity_matrix <- matrix(c(-1.5, 1.5, 0,
0, -1, 1,
0, 0, -0.5),
ncol = 3,
byrow = TRUE)
ph1 <- PH(subintensity_matrix)
#> Warning:
#> The initial probability vector is automatically generated.
print(ph1)
#> $subint_mat
#> [,1] [,2] [,3]
#> [1,] -1.5 1.5 0.0
#> [2,] 0.0 -1.0 1.0
#> [3,] 0.0 0.0 -0.5
#>
#> $init_probs
#> [,1] [,2] [,3]
#> [1,] 1 0 0
#>
#> $defect
#> [1] 0
#>
#> attr(,"class")
#> [1] "cont_phase_type"