fusePairs {wrMisc} | R Documentation |
Fuse pairs to generate cluster-names
Description
Fuse previously identified pairs to 'clusters', return vector with cluster-numbers.
Usage
fusePairs(
datPair,
refDatNames = NULL,
inclRepLst = FALSE,
maxFuse = NULL,
debug = FALSE,
silent = TRUE,
callFrom = NULL
)
Arguments
datPair |
2-column matrix where each line represents 1 pair |
refDatNames |
(NULL or character) allows placing selected pairs in context of larger data-set (names to match those of 'datPair') |
inclRepLst |
(logical) if TRUE, return list with 'clu' (clu-numbers, default output) and 'refLst' (list of clustered elements, only n>1) |
maxFuse |
(integer, default NULL) maximal number of groups/clusters |
debug |
(logical) display additional messages for debugging |
silent |
(logical) suppress messages |
callFrom |
(character) allow easier tracking of message(s) produced |
Value
This function returns a vector with cluster-numbers
Examples
daPa <- matrix(c(1:5,8,2:6,9), ncol=2)
fusePairs(daPa, maxFuse=4)
[Package wrMisc version 1.15.1 Index]