partition.multi {SK4FGA} | R Documentation |
Create Partitions of a multivariate array of objects.
Description
Partitions the array of assumed glass fragment chemical compositions and features into statistically significant groups.
Usage
partition.multi(data, alpha = 0.05, .debug = FALSE)
Arguments
data |
A list of data.frames or matrices corresponding to individual observations of glass fragment features. |
alpha |
Significance parameter "[0,1]". Higher values are more likely to partition the array further. |
.debug |
Runs debugging. |
Value
A list of groupings and the tree formed.
Examples
test.data = prepare_data(glass, 1)[1:3]
part = partition.multi(test.data)
plot(part)
set.seed(123)
test.data.random = prepare_data(glass, 1)
test.data.random = test.data.random[sample(1:length(test.data.random), 5)]
part = partition.multi(test.data.random)
part$groups
[Package SK4FGA version 0.1.1 Index]