partition: Create Partitions of an RI array.

View source: R/partition.R

partitionR Documentation

Create Partitions of an RI array.

Description

Partitions the array of assumed glass fragment refractive indices into statistically significant groups.

Usage

partition(array, alpha = 0.05, .debug = FALSE)

Arguments

array

Vector of refractive indices.

alpha

Significance parameter "[0,1]". Higher values are more likely to partition the array further.

.debug

Runs debugging.

Value

sk_partition_tree

Examples


set.seed(123)
ris = generate_indices(8, 4)
part = partition(ris)
plot(part)
part$groups



SK4FGA documentation built on Feb. 16, 2023, 9:06 p.m.

Related to partition in SK4FGA...