draw | R Documentation |
This is a wrapper to the package's specific functions, and thus somewhat slower. For time-intensive simulations prefer one of the specific functions.
draw(
Lambda = NULL,
Lambda_inv = NULL,
lambda = NULL,
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,
atleast1 = FALSE
)
Lambda |
(function, double vector) the integrated (cumulative) rate of the NHPPP |
Lambda_inv |
(function, double vector) the inverse of ‘Lambda()’ |
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 |
atleast1 |
boolean, draw at least 1 event time in interval |
a vector of event times
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.