Inclusion Probabilities: Simple Random Sampling

simple_rs_probabilities(N, prob = NULL, check_inputs = TRUE)

## Arguments

N |
The number of units. N must be a positive integer. (required) |

prob |
prob is the probability of being sampled must be a real number between 0 and 1 inclusive. (optional) |

check_inputs |
logical. Defaults to TRUE. |

## Value

A vector length N indicating the probability of being sampled.

## Examples

#> probs
#> 0.5
#> 200

#> probs
#> 0.3 0.7
#> 100 100