[R-sig-teaching] population models for undergraduates
Stratford, Jeff
jeffrey.stratford at wilkes.edu
Tue Nov 29 15:56:55 CET 2016
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]]
More information about the R-sig-teaching
mailing list