BiologicalRecordsCentre / sparta

Species Presence/Absence R Trends Analyses
http://biologicalrecordscentre.github.io/sparta/index.html
MIT License
21 stars 24 forks source link

Need a test of occupancy model outputs in testoccDetFunc() #211

Open drnickisaac opened 3 years ago

drnickisaac commented 3 years ago

The scripts testoccDetFunc and testoccDetModel currently test only test whether the errors appear where they are expected. There is currently not an error that compares the estimates from the occupancy model itself. By contrast, plot_DetectionPhenology has some quite sophisticated tests that compare the parameter values with some expected ones.