For example, I fix the set of the first 9 Fibonacci numbers:
I would like to generate a sequence of 200 integer numbers by randomly extracting them from that set of 9 elements. However, I would like the distribution (of the 200 numbers drawn) not to be uniform but gaussian: obviously I consider a discrete distribution that looks like the normal distribution. For example, the central element ("5") must have maximum frequency in the sequence of 200 numbers; the other numbers have decreasing frequency: "1" and "34" minimum frequency.
For an uniform distribution I know how:
sample(a, 200, replace = TRUE)
...but I don't know how using a discrete distribution like the one I explained above.