Generates random parameters alpha and S of a phase-type distribution of dimension p with chosen structure
random_structure(p, structure = "general", scale_factor = 1)Dimension of the phase-type
Type of structure: "general", "hyperexponential", "gerlang", "coxian" or "gcoxian"
A factor that multiplies the sub-intensity matrix
Random parameters alpha and S of a phase-type