Skip to main content

Modeling Community Population Dynamics with the Open-Source Language R

  • Protocol
  • First Online:
Engineering and Analyzing Multicellular Systems

Part of the book series: Methods in Molecular Biology ((MIMB,volume 1151))

Abstract

The ability to explain biological phenomena with mathematics and to generate predictions from mathematical models is critical for understanding and controlling natural systems. Concurrently, the rise in open-source software has greatly increased the ease at which researchers can implement their own mathematical models. With a reasonably sound understanding of mathematics and programming skills, a researcher can quickly and easily use such tools for their own work. The purpose of this chapter is to expose the reader to one such tool, the open-source programming language R, and to demonstrate its practical application to studying population dynamics. We use the Lotka–Volterra predator–prey dynamics as an example.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Protocol
USD 49.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.00
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 109.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Malthus T (1798) An essay on the principle of population: an essay on the principle of population, as it affects the future improvement of society with remarks on the speculations of Mr. Godwin M, Condorcet and other writers. Electronic Scholarly Publishing, London, http://www.esp.org/books/malthus/population/malthus.pdf

  2. Venables WN, Smith DM (2013) The R Core team. An introduction to R-Notes on R: a programming environment for data analysis and graphics version 3.0.1 (2013-05-16). http://www.cran.r-project.org/doc/manuals/R-intro.pdf

  3. Lotka AJ (1925) Elements of physical biology. Williams & Wilkins, Baltimore, MD

    Google Scholar 

  4. Volterra V (1926) Variations and fluctuations of the number of individuals in animal species living together. J Cons Perm Int Ent Mer 3:3–51, Reprinted in R.N. Chapman, Animal Ecology, New York, 1931

    Article  Google Scholar 

  5. Soetaert K, Petzoldt T, Setzer RW (2010) Solving differential equations in R. R J 2(2):5–15

    Google Scholar 

  6. Soetaert K, Petzoldt T, Setzer S (2010) Solving differential equations in R: package deSolve. J Stat Softw 33(9):1–25

    Google Scholar 

  7. Hindmarsh A (1983) ODEPACK, a systematized collection of ODE solver (Stepleman R, et al. ed). IMACS Trans Sci C Comput 1:55–64

    Google Scholar 

Download references

Acknowledgements

The authors would like to thank members of the Shou lab (Björn F.C. Kafsack, David Skelding, Babak Momeni and Adam Waite), Sarah Holte, Jerry Davison, and Alex Hu for their critical feedback and insightful comments. Work in the W.S. group is supported by the W. M. Keck Foundation and the National Institutes of Health (Grant 1 DP2OD006498-01). R.G. is an NSF predoctoral fellow.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Wenying Shou .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer Science+Business Media New York

About this protocol

Cite this protocol

Green, R., Shou, W. (2014). Modeling Community Population Dynamics with the Open-Source Language R. In: Sun, L., Shou, W. (eds) Engineering and Analyzing Multicellular Systems. Methods in Molecular Biology, vol 1151. Humana Press, New York, NY. https://doi.org/10.1007/978-1-4939-0554-6_15

Download citation

  • DOI: https://doi.org/10.1007/978-1-4939-0554-6_15

  • Published:

  • Publisher Name: Humana Press, New York, NY

  • Print ISBN: 978-1-4939-0553-9

  • Online ISBN: 978-1-4939-0554-6

  • eBook Packages: Springer Protocols

Publish with us

Policies and ethics