Description Usage Arguments Value Examples
View source: R/barrier_crossing.R
NA is returned if the level wasn't crossed. Printing the resulting object will give summary of the estimated distribution and information whether level wasn't crossed in some simulations. This information can be used to pick the right trajectory length for the given level.
1 | ladder_height(simulations, level)
|
simulations |
kendall_simulation object |
level |
Positive numeric |
tibble
1 2 3 4 5 | {
kendall_rw <- simulate_kendall_rw(100, 100, runif, 0.5)
estim_ladder <- ladder_height(kendall_rw, 1000)
estim_ladder
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.