The example in adjustModel help seems broken.
The line
sol <- adjustModel(real.data, species.model, resol = 20, nbins.hist = c(3, 3), step.hist.log = TRUE)
is not working and give the following error :
Error in if (nbins.hist[3] > 0) { : missing value where TRUE/FALSE needed
It works if we add a third value to nbins.hist arguments as follows:
sol <- adjustModel(real.data, species.model, resol = 20, nbins.hist = c(3, 3, 3), step.hist.log = TRUE)
The example in adjustModel help seems broken. The line
sol <- adjustModel(real.data, species.model, resol = 20, nbins.hist = c(3, 3), step.hist.log = TRUE)
is not working and give the following error :It works if we add a third value to nbins.hist arguments as follows:
sol <- adjustModel(real.data, species.model, resol = 20, nbins.hist = c(3, 3, 3), step.hist.log = TRUE)