R-beta: is there a way to get rid of loop?
Bill Simpson
wsimpson at uwinnipeg.ca
Fri Feb 27 18:59:13 CET 1998
Thanks Peter!
> [prepare to slap forehead...]
Duh!
> nh<-rbinom(2000,ns,phit)
> nf<-rbinom(2000,nn,pfa)
>
> This will generate NA's whereever ns==0, but you had that problem anyway.
Yes I am just telling quantile to ignore them, but maybe that is not
kosher.
Bill Simpson
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list