View source: R/ztdraw_intensity.R
ztdraw_intensity | R Documentation |
Sample from zero-truncated NHPPP given the intensity function This is a wrapper to the package's specific functions, and thus somewhat slower. For time-intensive simulations prefer one of the specific functions.
ztdraw_intensity(
lambda,
line_majorizer_intercept = NULL,
line_majorizer_slope = NULL,
line_majorizer_is_loglinear = FALSE,
step_majorizer_vector = NULL,
t_min = NULL,
t_max = NULL,
atmost1 = FALSE
)
lambda |
(function) the instantaneous rate |
line_majorizer_intercept |
The intercept |
line_majorizer_slope |
The slope |
line_majorizer_is_loglinear |
(boolean) if |
step_majorizer_vector |
(vector, double) |
t_min |
(double) the lower bound of the interval |
t_max |
(double) the upper bound of the interval |
atmost1 |
boolean, draw at most 1 event time |
a vector of at least 1 event times
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.