Safe Haskell | None |
---|---|

Language | Haskell98 |

Collection of functions pertaining to getting random samples from - a population

# Documentation

subsample :: (Eq a, Ord a) => Int -> Int -> StdGen -> [a] -> [a] Source

Gets a random sampling by getting either the requested amount either directly or through the inverse (for speed)