[R] rpois formula

Ian Fiske ianfiske at gmail.com
Wed Oct 7 03:49:17 CEST 2009

sum(a > b)
sum(b > a)
sum(a == b)


nedmt60 wrote:
> i have
> a = rpois (100000, x)
> b = rpois (100000, y)
> what is the code to show that a>b, b>a and a=b to show just the number of
> occurances?
> at the moment when I type a>b I get a nice long list of true or false.

View this message in context: http://www.nabble.com/rpois-formula-tp25774389p25779305.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list