Skip to content
Prev 105832 / 398506 Next

Error in rmultinom(n, size, prob) : too few positive probabilities

Ethan Johnsons wrote:
y is 0, hence prob=x[y[i-1], ] is empty
You can try it out step by step yourself.

Uwe Ligges