This function returns a function which itself returns a numerical vector of
length n_leaves
, the number of leaves on the branch. These values serve
as relative multiplication factors of the sizes of the leaves of the branch.
(The maximum value of this distribution is then normalized to 1.)
Arguments
- shape, scale_factor
Parameters passed to
stats::dweibull()
.