tree.replicate: Creating trees of lists

tree.replicateR Documentation

Creating trees of lists

Description

Build a tree of a list, potentially keeping hold of an internal state.

Usage

tree.replicate(num, ma)

tree.replicateS(num, ma, s, ...)

Arguments

num

the length of the list in the tree

ma

a function which (randomly) creates new tree to add to the list

s

a state used when replicating to keep track of.

...

extra arguments to pass to the tree generating function


hedgehog documentation built on Nov. 6, 2025, 1:11 a.m.