View source: R/getWaitTimeSum.R
getWaitTimeSum | R Documentation |
This returns event times with a distribution resulting from the sum of two Weibull distributed random variables using the inversion method.
getWaitTimeSum(U, haz1, haz2, p1, p2, entry)
U |
( |
haz1 |
(positive |
haz2 |
(positive |
p1 |
(positive |
p2 |
(positive |
entry |
( |
This returns a vector with event times.
getWaitTimeSum(U = c(0.4, 0.5), haz1 = 0.8, haz2 = 1, p1 = 1.1, p2 = 1.5, entry = c(0, 0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.