reassign: reassign function

View source: R/cluster.R

reassignR Documentation

reassign function

Description

reassign function for reassigning outlier cases to clusters after a solution has been made using lowest average euclidean distance (ASED)

Usage

reassign(reassignobj, compgrp, method = "euclidean")

Arguments

reassignobj

case to be reassigned to a cluster. this must take the form of a row with as many columns as there were variables used in the clustering- the variables must also come in the same order

compgrp

the final cluster solution in the form of a mean aggregation of the variables used in the clustering. variables must be in the same amount and order as reassignobj

method

the method to be used in the ASED function. default is 'eucludean'

Examples

reassign_function()

clmacleod/highlandr documentation built on Oct. 11, 2023, 8:04 p.m.