search for: c_rnbinom

Displaying 1 result from an estimated 1 matches for "c_rnbinom".

Did you mean: rf_rnbinom
2017 Jan 31
1
rnbinom Returns Error that says optional argument is missing
...ntional that setting "prob" and "size" defaults will actually evaluate. Here is the function call: function (n, size, prob, mu) { if (!missing(mu)) { if (!missing(prob)) stop("'prob' and 'mu' both specified") .Call(C_rnbinom_mu, n, size, mu) } else .Call(C_rnbinom, n, size, prob) } -- Thomas Roh thmsroh at gmail.com [[alternative HTML version deleted]]