I'm trying to reproduce the code from this answer, however I have problems in doing so. I'm using the gumbel distribution from package VGAM
and fitdistrplus
.
The problem emerges when doing:
fit = fitdist(data1, 'gumbel', start = list(location = 0, scale = 1))
Error in mledist(data, distname, start, fix.arg, ...) :
'start' must specify names which are arguments to 'distr'.
As if location
and scale
were not arguments of *gumbel.
dgumbel
, pgumbel
, rgumbel
and qgumbel
are correctly provided by VGAM
.
However the package also provides a function called gumbel
, with different syntax. May this be causing problems?
EDIT: yes indeed it is causing problems: using package FAdist
instead works perfectly fine.