powered by
Line lengths are determined using the folded normal distribution (=μ= llength, =σ= llength_disp ).
llength
llength_disp
llengths(num_clusters, llength, llength_disp)
Lengths of cluster-supporting lines (vector of size num_clusters).
num_clusters
Number of clusters.
Average line length.
Line length dispersion.
set.seed(123) llengths(4, 20, 3.5)
Run the code above in your browser using DataLab