README.md

odeGUTS

R-CMD-check Lifecycle:
stable CRAN
status

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

Installation

You can install the released version of odeGUTS from CRAN with:

install.packages("odeGUTS")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("bgoussen/odeGUTS")

Example

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)


Try the odeGUTS package in your browser

Any scripts or data that you put into this service are public.

odeGUTS documentation built on Sept. 10, 2021, 5:08 p.m.