splitter: Split Function

Description Usage Arguments Value

View source: R/monoclust.R

Description

Given the Cluster's frame's row position to split at split_row, this function performs the split, calculate all necessary information for the splitting tree and cluster memberships.

Usage

1
splitter(data, cuts, split_row, frame, cloc, dist, split_order = 0L)

Arguments

data

Original data set.

cuts

Cuts data set, which has the next higher value of each variable in the original data set.

split_row

The row index in frame that would be split on.

frame

The split tree transferred as data frame.

cloc

Vector of current cluster membership.

dist

Distance matrix of all observations in the data. exported function yet. Vector of 1 for all observations.

split_order

The control argument to see how many split has been done.

Value

Updated frame and cloc saved in a list.


vinhtantran/monoClust documentation built on March 12, 2021, 11:11 p.m.