rcategor, but returning a vector of sampled integers 1, 2, ..., ncol(probs)+1 instead of a factor.rcategor.int(n, probs)n identically distributed random categorical variables are generated with categories: 1, 2, ..., length(probs)+1. When probs is a matrix, n with values: 1,2, ...,ncol(probs)+1.