search for: tp3798190p3798595

Displaying 1 result from an estimated 1 matches for "tp3798190p3798595".

Did you mean: tp3798190p3798190
2011 Sep 08
3
generate randomly a value of a vector
Hi everyone, I have a zero vector of length N and I would like to randomly allocate the value 1 to one of the values of this vector. I presume I have to use the uniform distribution but could someone tell me how I should process? Thanks in advance, Boris -- View this message in context: http://r.789695.n4.nabble.com/generate-randomly-a-value-of-a-vector-tp3798190p3798190.html Sent from the R