Learn R Programming

deGradInfer (version 1.0.1)

getODEGradient: Calculate gradients from ODE system

Description

Calculate gradients from ODE system

Usage

getODEGradient(X, timePoints, params, auxVars, species = 1:dim(X)[2])

Arguments

X

Latent values for the species

timePoints

Times at which to calculate the ODE gradients

params

Current parameter estimates

auxVars

Auxiliary variables (including function for ODE gradients)

species

Which species to return (default=all)

Value

A T by length(species) matrix with the gradients calculated at each time point for the specified species.