Thanks Duncan and Martin for your answer.
> Le 9 avr. 2023 à 00:33, Duncan Murdoch a écrit :
>
> On 08/04/2023 5:53 p.m., Martin Maechler wrote:
>>> Christophe Dutang
>>> on Sat, 8 Apr 2023 14:21:53 +0200 writes:
>> > Dear all,
>> > Using rmultinom() in a stochastic model, I
On 08/04/2023 5:53 p.m., Martin Maechler wrote:
Christophe Dutang
on Sat, 8 Apr 2023 14:21:53 +0200 writes:
> Dear all,
> Using rmultinom() in a stochastic model, I found this function returns
an error message 'NA in probability' for an infinite probability.
> Maybe, a mo
> Christophe Dutang
> on Sat, 8 Apr 2023 14:21:53 +0200 writes:
> Dear all,
> Using rmultinom() in a stochastic model, I found this function returns an
error message 'NA in probability' for an infinite probability.
> Maybe, a more precise message will be helpful when d
Dear all,
Using rmultinom() in a stochastic model, I found this function returns an error
message 'NA in probability' for an infinite probability.
Maybe, a more precise message will be helpful when debugging.
> rmultinom(1, 3:5, c(1/2, 1/3, Inf))
Error in rmultinom(1, 3:5, c(1/2, 1/3, Inf))