check_truncation | R Documentation |
This function checks if the truncation time D is appropriate relative to the
maximum delay. If D is much larger than necessary, it suggests
considering setting it to Inf
for better efficiency with minimal accuracy
cost.
check_truncation(delays, D, multiplier = 2)
delays |
A numeric vector of delay times |
D |
The truncation time |
multiplier |
The multiplier for the maximum delay to compare with D. Default is 2. |
Invisible NULL. Prints a message if the condition is met.
Distribution checking functions
check_dprimary()
,
check_pdist()
check_truncation(delays = c(1, 2, 3, 4), D = 10, multiplier = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.