Learn R Programming

clugenr (version 1.0.4)

llengths: Determine length of cluster-supporting lines

Description

Line lengths are determined using the folded normal distribution (=μ= llength, =σ= llength_disp ).

Usage

llengths(num_clusters, llength, llength_disp)

Value

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

Arguments

num_clusters

Number of clusters.

llength

Average line length.

llength_disp

Line length dispersion.

Examples

Run this code
set.seed(123)
llengths(4, 20, 3.5)

Run the code above in your browser using DataLab