evalImpulse: Compute value of impulse function given parameters.

View source: R/srcImpulseDE2_evalImpulse.R

evalImpulseR Documentation

Compute value of impulse function given parameters.

Description

Compute value of impulse function given parameters. Enforces lower bound on value of function to avoid numerical errors during model fitting.

Usage

evalImpulse(vecImpulseParam, vecTimepoints)

Arguments

vecImpulseParam

(numeric vector number of impulse model parameters) {beta, h0, h1, h2, t1, t2} Vector of impulse model parameters.

vecTimepoints

(numeric vector length number of time points) Time points to be evaluated.

Value

vecImpulseValue (vec number of vecTimepoints) Model values for given time points.

Author(s)

David Sebastian Fischer

See Also

Compiled version: evalImpulse_comp


YosefLab/ImpulseDE2 documentation built on Sept. 17, 2022, 2:45 a.m.