smooth
smooth copied to clipboard
The new occurrence model, based on adam()
This should call for adam() with distribution="plogis" and use a built-in mechanism of update of states.
The main issue is with occurrence="general", which relies on a completely different stuff...
After careful consideration, distribution="plogis" does not make much sense in adam() due to many differences between the models. So, better create a separate function oadam() by copy-pasting the original code and then modifying it.