Re: [R] rmultinomial() function

2008-03-18 Thread Erik Iverson
Mary Black wrote: > After scouring the online R resources and help pages, I still need > clarification on the function rmultinomial(). I would like to create > a vector, say of 100 elements, where every element in the vector can > take on the value of 0, 1 or 2, and where each of those values have

[R] rmultinomial() function

2008-03-18 Thread Mary Black
After scouring the online R resources and help pages, I still need clarification on the function rmultinomial(). I would like to create a vector, say of 100 elements, where every element in the vector can take on the value of 0, 1 or 2, and where each of those values have a specific probability