Displaying 1 result from an estimated 1 matches for "qone".
Did you mean:
one
2012 Sep 06
2
choose() function returning anomalous results (zero instead of one)
...the first time through and/or having code continue to execute
before it interrupts, i.e.:
------
Browse[2]> pprime <- sum(testma)
Error: object 'testma' not found
Browse[2]>
Browse[2]> loopvar <- loopvar + 1
Browse[2]>
debug at #3: partial1 <- (((1 - f11) * (1 - f12))^(Qone - nn)) * ((f11 + (1
-
f11) * f12)^nn)
Browse[2]> print(proc.time() - ptm)
user system elapsed
0.33 0.11 0.59
-----
Everything was generated by the program, I didn't type any of it in;
browser() is not in the code below, but I generally put it somewhere in
ugly_function() to...