Skip to content
Prev 25471 / 63424 Next

inaccuracy in qbinom with partial argument matching

Let me add an explanation, why
  qbinom(p0     , s = 3,    p    = 0.25)
does not produce an error message about missing "prob" argument:
Since "size" and "p" arguments are given, p0 is used for
the third argument and not for the first.

Although the behavior is logical, it may not be immediately clear.
I do not see this case explicitly in FAQ or R-intro.pdf 10.3.

Petr.