llengths | R Documentation |
Line lengths are determined using the folded normal distribution
(\mjeqn\mu=μ= llength
, \mjeqn\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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.