tests/testthat/helper-fixtures.R

# ==========================================================================
# Test fixtures
# ==========================================================================

iid_exp_components <- function(m, rate = 1) {
  replicate(m, algebraic.dist::exponential(rate), simplify = FALSE)
}

Try the dist.structure package in your browser

Any scripts or data that you put into this service are public.

dist.structure documentation built on May 13, 2026, 1:07 a.m.