evalImpulse: Compute value of impulse function given parameters. Enforces...

View source: R/simulation_functions.R View source: R/ContinuousTree.R

evalImpulseR Documentation

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

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


YosefLab/SymSim documentation built on Sept. 30, 2024, 2:22 p.m.