.keepCenter1d: Refine/filter 'dat1' (1dim dataset, eg cluster) with aim of keeping center of data
Description
This function allows to refine/filter 'dat1' (1dim dataset, eg cluster) with aim of keeping center of data.
It is done based on most freq class of histogramm keep/filter data if 'core' (
This function returns the index of values retained or if 'keepOnly' return list with 'keep' index and 'drop' index
Arguments
dat1
simple numeric vector
core
numeric vactor (betw 0 and 1) for fraction of data to keep; if null trimmedMean/max hist occurance will be used, limited within 30-70 perent; may also be 'high' or 'low' for forcing low (20-60percent) or high (75-99) percent of data to retain
keepOnly
(logical)
displPlot
(logical) show plot of hist & boundaries
silent
(logical) suppress messages
debug
(logical) additional messages for debugging
callFrom
(character) allow easier tracking of messages produced