How are you computing the sum?  Does FAQ 7.31 apply?  Showing at least a
sample of your code would help.

On Friday, November 25, 2011, Sl K <s.ka...@gmail.com> wrote:
> 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]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Jim Holtman
Data Munger Guru

What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to