Hi everyone,
If i have a vector, for example
A=c(1:1000)
and i need to extract only one element, but i want that the probability to extract a little number is very very bigger than the probability to extract a big number, for example I want that this probability is more or less like an exponential probability, how i can do that?
I need to give a hight weight to lower number and low weight to bigger number, but how i can do that?
thank you