Dear R users,

I am running simulations (1000), and in my simulation I am looking at
specific sums. For example, if the sum is >=4 then count this, if say <3,
then don't count, if the sum=3, then generate a random number from uniform
distribution, if this number is say less than 0.5, then count this sum, if
greater than 0.5, then don't count. I am having trouble with introducing
this uniform number and decide whether to count 3 or not.  Any help or hint
will be greatly appreciated. Thank you very much in advance

	[[alternative HTML version deleted]]

