Calculate the equilibrium of a facility transmission model
facilityeq(S, C, A, R, transm, init, mgf = NULL)
A matrix of state transition rates between and removal from the susceptible states in the absence of colonized individuals
A matrix of state transition rates between and removal from the colonized states
A matrix describing transitions from susceptible to colonized states at acquisition
A matrix of recovery rates: state transition rates from colonized to susceptible states
A vector of transmission rates from each colonized state
A vector of admission state probabilities to each state
The moment generating function characterizing a time-of-stay-dependent removal hazard
A vector with the proportion of patients in each state at equilibrium