springer-math / Mathematics-of-Epidemics-on-Networks

Source code accompanying 'Mathematics of Epidemics on Networks' by Kiss, Miller, and Simon http://www.springer.com/us/book/9783319508047 . Documentation for the software package is at https://epidemicsonnetworks.readthedocs.io/en/latest/
MIT License
151 stars 61 forks source link

confusing in the Competing Diseases example #74

Closed mauimoana closed 5 months ago

mauimoana commented 3 years ago

Hi - I am testing the Competing Diseases example in https://epidemicsonnetworks.readthedocs.io/en/latest/examples/Compete.html

A problem or bug I noticed in the plot function as showed below ...... plt.plot(t, RS+IR+RR, '-.', label = 'Recovered from disease 1') plt.plot(t, SR+RI+RR, '-.', label = 'Recovered from disease 2')

I think that the IR doesnt mean 'Recovered from disease 1' but 'Recovered from disease 2', and the RI doesnt mean 'Recovered from disease 2' but 'Recovered from disease 1'.

I am not sure is it true or not.

Thanks a lot.

joelmiller commented 3 years ago

You appear to be correct. I'll try to get this fixed.

mauimoana commented 3 years ago

OK, thanks a lot.