I am learning infectious disease modeling, and I have come across something in my textbook that has me stumped. They take the equation: $$\frac{dS}{dR} = -R_0S $$ Then, they say "upon integrating with respect to R, we obtain: $S(t) = S(0)e^{-R(t)R_0}$"
My question is, where does the e come from? I haven't taken a calculus class in a decade so I may be missing something obvious, but I'm very confused, and I'd appreciate it if someone could walk me through how they got this. If it helps, $R_0$ is a parameter while S and R are variables (people susceptible to infection and people recovered from infection). $R_0$ and R are completely different things.