Learn R Programming

demodelr

demodelr is a R package to support the textbook Exploring Modeling with Data and Differential Equations Using R

Installation

Installation in R is done via CRAN:

install.packages("demodelr")

Also through the devtools package:

install_github("jmzobitz/demodelr", build = TRUE, build_opts = c("--no-resave-data", "--no-manual"),force=TRUE)

If you encounter problems with code in this repository, feel free to post an issue.

License

This work is distributed under the Creative Commons, Attribution-Non Commercial 4.0 License. You may copy, distribute, display and perform the work and make derivative works and remixes based on it only if they give the author (Zobitz) attribution and use it for non-commercial purposes.

Disclaimer

Information and documents contained within this repository are available as-is. Codes or documents, or their use, may not be supported or maintained under any program or service.

Copy Link

Version

Install

install.packages('demodelr')

Monthly Downloads

516

Version

2.0.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

John Zobitz

Last Published

January 16th, 2026

Functions in demodelr (2.0.1)

yeast

Measured Sacchromyces data (yeast) from Gause 1932 "Experimental studies on the struggle for coexistence"
mcmc_estimate

Markov Chain parameter estimates
compute_likelihood

Likelihood plot of a two parameter model
parks

Visitor and resource usage to a national park
euler_stochastic

Euler-Maruyama method solution for a stochastic differential equation.
euler

Euler's method solution for a differential equation.
mcmc_analyze

Markov Chain parameter estimates
global_temperature

Measured average global temperature anomaly by year
rk4

Runge Kutta method solution for a differential equation.
eigenvalues

Matrix eigenvalues and eigenvectors
phaseplane

Phase plane of differential equation.
precipitation

Measured precipitation from a rainfall event
phosphorous

Measured phosphorous of Daphnia and algae
wilson

Measured Weight of a dog over time
snowfall

Measured snowfall from a blizzard in April 2018