partition {SK4FGA} | R Documentation |
Partitions the array of assumed glass fragment refractive indices into statistically significant groups.
partition(array, alpha = 0.05, .debug = FALSE)
array |
Vector of refractive indices. |
alpha |
Significance parameter "[0,1]". Higher values are more likely to partition the array further. |
.debug |
Runs debugging. |
sk_partition_tree
set.seed(123)
ris = generate_indices(8, 4)
part = partition(ris)
plot(part)
part$groups