Find the best split in terms of reduction in inertia for the transferred node, indicate by row. Find the terminal node with the greatest change in inertia and bi-partition it.
find_split(
toclust.fd,
frame_row,
cloc,
dist,
dsubs,
dsubsname,
weights,
minbucket,
minsplit,
spliton,
method
)
The updated frame_row
with the next split updated.
A functional data object (i.e., having class fd
) created
from fda
package. See fda::fd()
.
One row of the split tree as data frame.
Vector of current cluster membership.
Distance matrix of all observations in the data.
Distance matrix calculated on each subregion. A three-dimensional matrix.
Subregion names.
(Currently unused) Weights on observations.
The minimum number of data points in one cluster allowed.
The minimum number of observations that must exist in a node in order for a split to be attempted.
Restrict the partitioning on a specific set of subregions.
The clustering method you want to run in each subregion. Can be
chosen between pam
and ward
.