powered by
get.counts(x, state.num)
x = sample( 1:5, size = 20, replace = TRUE) get.counts(x, 5)
Run the code above in your browser using DataLab