sampling

Sample values from collections. https://github.com/jtobin/sampling

Latest on Hackage:0.3.5

See all snapshots sampling appears in

MIT licensed by Jared Tobin
Maintained by jared@jtobin.ca

Module documentation for 0.2.0

This version can be pinned in stack with:sampling-0.2.0@sha256:705929c9a629db8150478fd996315889fb8e5ab16dd584bc969727d6cc7e25b1,1586

Basic sampling tools.

Exports variations on two simple functions for sampling from arbitrary Foldable collections:

  • sample, for sampling without replacement

  • resample, for sampling with replacement (i.e., a bootstrap)

Used by 1 package in lts-7.24(full list with versions):