BiologicalRecordsCentre / sparta

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

plot_detection_probs() #179

Open drnickisaac opened 4 years ago

drnickisaac commented 4 years ago

I'm working on a new function to plot the detection probabilities from the model.

galinajonsson commented 4 years ago

I have code for this from the wasps! It's not the neatest but I'll happily share it.

drnickisaac commented 4 years ago

I've now implemented this in sparta. I'd be grateful if @galinajonsson and @JackHHatfield91 would try it out and (if necessary) suggest improvements.

JHHatfield commented 4 years ago

The function works with models that do not use Julian date. It possibly also works with models that use the old Julian date formulation (I have no outputs to test) but not the new version based on a normal distribution.

drnickisaac commented 4 years ago

We may be in a position to resolve this issue now, but someone would first need to check for compatibility to different model formulations.