Update class weight vector
Arguments
- delta
[numeric(1)
]
The prior concentration for s
.
- m
[numeric(C)
]
The vector of current class frequencies.
Examples
update_s(delta = 1, m = 4:1)
#> [,1]
#> [1,] 0.3383681
#> [2,] 0.1278070
#> [3,] 0.2574974
#> [4,] 0.2763275