gap | R Documentation |
The function to provide a random number which uses to identify the location of each synthetic instance. The interval of possible values depends from safe-level values of instances in a pair.
gap(sl_p = 1, sl_n = 1)
sl_p |
The safe-level value of the first instance |
sl_n |
The safe-level value of the second instance |
A value between 0 to 1 which is used to identify the location of synthetic instance If sl_p >= sl_n, it gives the random number between 0 to sl_n/sl_p If sl_p < sl_n, it gives the random number between 1-sl_p/sl_n to 1
Wacharasak Siriseriwan <wacharasak.s@gmail.com>
r_num = gap()
r_num_2 = gap(sl_p = 4, sl_n = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.