[R] (no subject)
Salas, Andria Kay
aks2515 at uncw.edu
Tue Nov 18 16:10:06 CET 2008
I need help with another problem I am having that deals with the generation of vectors that I asked about yesterday. I now need to have each value in the vector (all values either 1 or -1) have a probability p that it will switch signs (so, say, each value has a 50% chance of switching from -1 to 1 or visa versa). What would be the best way to go about doing this? Thank-you!!
More information about the R-help
mailing list