title: How to solve and plot differential equations in R
body: <p>Taken from Sal Khan's lecture <a href="https://www.youtube.com/watch?v=oiDvNs15tkE" rel="nofollow">https://www.youtube.com/watch?v=oiDvNs15tkE</a> of the Khan academy, if I know that dN/dt=rN(1-(N/K)) (the logistic differential equation)</p>
  
  <p>How can I solve for N and plot the N=f(t) with R?</p>
  
  <p>Thanks</p>