Find the most frequent result for one categorical variable. This function is used in combine_boot with method = 'factor'

Mode_cat(x)

Arguments

x

Vector of categorical results. For example c('A','B','A').

Value

Most frequent category in vector x.