partition {SK4FGA} | R 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
[Package SK4FGA version 0.1.1 Index]