powered by
Make report about number of unique and redundant elements of vector 'dat'. Note : fairly slow for long vectors !!
uniqCountReport( dat, frL = NULL, plotDispl = FALSE, tit = NULL, col = NULL, radius = 0.9, sizeTo = NULL, clockwise = FALSE, silent = FALSE, callFrom = NULL )
(charcter or numeric vector) main input where number of unique (and redunant) should be determined
(logical) optional (re-)introducing results from duplicated to shorten time of execution
duplicated
(logical) decide if pie-type plot should be produced
(character) optional title in plot
(character) custom colors in pie
(numeric) radius passed to pie
pie
(numeric or charcter) optional reference group for size-population relative adjusting overall surface of pie
(logical) argument passed to pie
(logical) suppress messages
(character) allow easier tracking of message(s) produced
vector with counts of n (total), nUnique (wo any repeated), nHasRepeated (first of repeated), nRedundant), optional figure
correctToUnique, unique
correctToUnique
unique
# NOT RUN { layout(1:2) uniqCountReport(rep(1:7,1:7),plot=TRUE) uniqCountReport(rep(1:3,1:3),plot=TRUE,sizeTo=rep(1:7,1:7)) # }
Run the code above in your browser using DataLab