lbelzile/mev

regp2 returns invalid type

Closed this issue · 1 comments

I am currently testing different rainfall distribution especially the extented gp2.
I am experiencing some difficulties with the regp2 function.

For instance when I execute:

x = regp2(n=1000, kappa=2, sigma=1, xi=0.5,type=1)

I have the following message:

Erreur dans qegp2.G(unifsamp, prob, kappa, delta, type) :
Invalid `type' argument

Argument matching in the function, resulting in NA being passed to argument type