Description Usage Arguments Value Author(s) References Examples

This is a fast implementation of the pivotal method.

1 2 3 4 | ```
split_sample(
prob,
delta = exp(-16)
)
``` |

`prob` |
An array of length N such that the sum of prob is equal to the sample size. |

`delta` |
A small real value that is used for tolerance in determining if the value is included or excluded from the sample. |

An array of indexes from prob. Indexes with this list are sampled.

Jonathan Lisic

Deville, J.-C. and Tillé, Y. (1998). Unequal probability sampling without replacement through a splitting method. Biometrika 85, 89-101.

1 2 3 4 5 6 7 8 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.