llengths {clugenr} | R Documentation |
Line lengths are determined using the folded normal distribution
(\(\mu=\) llength
, \(\sigma=\) llength_disp
).
llengths(num_clusters, llength, llength_disp)
num_clusters |
Number of clusters. |
llength |
Average line length. |
llength_disp |
Line length dispersion. |
Lengths of cluster-supporting lines (vector of size num_clusters
).
This function is stochastic. For reproducibility set a PRNG seed with set.seed.
set.seed(123)
llengths(4, 20, 3.5)