The goal of odeGUTS is to offer ode solver for the GUTS-RED-SD and GUTS-RED-IT model without dependency to the “morse” package
You can install the released version of odeGUTS from CRAN with:
And the development version from GitHub with:
This is a basic example which shows you how to solve a common problem:
library(odeGUTS)
dataPredict <- data.frame(time = c(1:5, 1:10, 1:15),
conc = c(rep(5, 5),
c(rep(0, 3), rep(12, 4), rep(0, 3)),
rep(15, 15)),
replicate = c(rep("rep1", 5), rep("rep2", 10), rep("rep3", 15))) # Prepare data for forwards prediction
data(fit_odeGUTS)
out <- predict_ode(fit_odeGUTS, dataPredict)