llengths {clugenr}R Documentation

Determine length of cluster-supporting lines

Description

Line lengths are determined using the folded normal distribution (\(\mu=\) llength, \(\sigma=\) llength_disp ).

Usage

llengths(num_clusters, llength, llength_disp)

Arguments

num_clusters

Number of clusters.

llength

Average line length.

llength_disp

Line length dispersion.

Value

Lengths of cluster-supporting lines (vector of size num_clusters).

Note

This function is stochastic. For reproducibility set a PRNG seed with set.seed.

Examples

set.seed(123)
llengths(4, 20, 3.5)

[Package clugenr version 1.0.3 Index]