This function updates the class size vector.
Examples
update_m(C = 3, z = c(1,1,1,2,2,3), FALSE)
#> [,1]
#> [1,] 3
#> [2,] 2
#> [3,] 1
This function updates the class size vector.
update_m(C = 3, z = c(1,1,1,2,2,3), FALSE)
#> [,1]
#> [1,] 3
#> [2,] 2
#> [3,] 1