[R-sig-teaching] population models for undergraduates

Jeff Laux jefflaux at gmail.com
Tue Nov 29 16:08:49 CET 2016


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 <
jeffrey.stratford at wilkes.edu> 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]]
>
> _______________________________________________
> R-sig-teaching at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-teaching
>

	[[alternative HTML version deleted]]



More information about the R-sig-teaching mailing list