get_max_stat: get_max_stat
Description
An internal function that returns the approximate maximum value of a given statistic
for randomized samples of an input vector of categorical variables
using heuristic rules
Usage
get_max_stat(seq, statname)
Arguments
seq
A vector of categorical values
statfunc
The used statistic formula