Description Usage Arguments Value Author(s) References See Also Examples
Calculates impulse model values for given timepoints and predicted impulse parameters.
1 | calc_impulse(theta, timepoints)
|
theta |
numerical vector of impulse parameters with the order beta, h0, h1, h2, t1, t2. |
timepoints |
numercial vector of time point(s). |
The predicted impulse model values for the given time point(s).
Jil Sander
Chechik, G. and Koller, D. (2009) Timing of Gene Expression Responses to Envi-ronmental Changes. J. Comput. Biol., 16, 279-290.
1 2 3 4 5 6 | #' theta vector in the order beta, h0, h1, h2, t1, t2
theta <- c(9.9, 14.7, 17.0, 16.9, -0.1, 37.0)
#' time points
timepoints <- c(0, 2, 4, 6, 8, 18, 24, 32, 48, 72)
#' calculate impulse values
impulse_values <- calc_impulse(theta, timepoints)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.