Solve ODE for GUTS-RED-SD and GUTS-RED-IT Using Compiled Code

Allows performing forwards prediction for the General Unified Threshold model of Survival using compiled ode code. This package was created to avoid dependency with the 'morse' package that requires the installation of 'JAGS'. This package is based on functions from the 'morse' package v3.3.1: Virgile Baudrot, Sandrine Charles, Marie Laure Delignette-Muller, Wandrille Duchemin, Benoit Goussen, Nils Kehrein, Guillaume Kon-Kam-King, Christelle Lopes, Philippe Ruiz, Alexander Singer and Philippe Veber (2021) < https://CRAN.R-project.org/package=morse>.


odeGUTS

R-CMD-check Lifecycle:stable CRANstatus

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)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("odeGUTS")

1.1.0 by Carlo Romoli, a year ago


https://github.com/bgoussen/odeGUTS


Report a bug at https://github.com/bgoussen/odeGUTS/issues


Browse source code at https://github.com/cran/odeGUTS


Authors: Benoit Goussen [aut] , Carlo Romoli [cre]


Documentation:   PDF Manual  


GPL (>= 3) license


Imports deSolve, magrittr, stats, dplyr, zoo, tidyr

Suggests morse


Imported by BeeGUTS.


See at CRAN