RetoSchmucki / rbms

A home for the latest rbms R package
https://retoschmucki.github.io/rbms/
Other
4 stars 5 forks source link

Faulty -not enough data to comput flight curve #8

Closed RetoSchmucki closed 3 years ago

RetoSchmucki commented 3 years ago

When computing the flight curve, in some case, rbms message that "You have not enough sites with observations for estimating the flight curve for species ...." when enough sites, visits or occurrence are present.

ts_flight_curve <- rbms::flight_curve(ts_season_count,
                                      NbrSample = 500,
                                      MinVisit = 5,
                                      MinOccur = 2,
                                      MinNbrSite = 1,
                                      MaxTrial = 4,
                                      GamFamily = "nb",
                                      SpeedGam = FALSE,
                                      CompltSeason = TRUE,
                                      SelectYear = NULL,
                                      TimeUnit = "w")

This was observed in some species from Catalonia BMS but is likely to have occurred elsewhere.

Reported by A Ubach

RetoSchmucki commented 3 years ago

Resolve in v1.1.0