Can you describe the "more complicated model with lags" that you are interested in? Can you write it out mathematically?
On Tue, Nov 29, 2016 at 9:56 AM, Stratford, Jeff < [email protected]> wrote: > Hi everyone, > > I'm using R to make graphs for lecture notes and I hope to get to the point > where students are reproducing graphs in lab. > > I can do very simple logistic growth models (example below) but can anyone > share more complicated models with lags etc? > > Very much appreciated, > > Jeff > > > #### pop size over time ### > > r <- 0.033 > K <- 100 > t <- 1:250 > N0 <- 10 > N0 > poplog <- (K-N0)/N0 > Nt <- K/(1+(poplog)*exp(-r*t)) > Nt > plot(t, Nt, type="l", lwd=3, cex.lab=1.5, cex.axis=1.5) > > > ******************************************************** > Jeffrey A. Stratford, PhD > Department of Biology and Health Sciences & > Director of Study Abroad > Office: Cohen Science Center 210 > Address: 84 W South Street > Wilkes University, PA 18766 USA > 570-332-2942 > https://sites.google.com/a/wilkes.edu/stratford/home > Blog http://concreteornithology.blogspot.com/ > ******************************************************** > > [[alternative HTML version deleted]] > > _______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-sig-teaching > [[alternative HTML version deleted]] _______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-teaching
