Sampling with replacement (source code)

= Sampling with replacement

<Sampling with replacement> returns each selected label to the available population before the next draw. Independent uniform draws from a fixed population are <independent and identically distributed>; a label can recur. Replacement by itself does not imply uniformity or <independence>.