This function converts a phase-type distribution into an igraph graph object.
phase_type_to_network(phase_type, t = NULL)
an object of class disc_phase_type
or
cont_phase_type
NULL or numeric. Sampling time for the continuous phase-type distribution.
An igraph graph object of the phase-type distribution.