revbayes / revbayes.github.io

https://revbayes.github.io
7 stars 11 forks source link

Fixed SHDM code in the Discrete Morphology tutorial #24

Closed davidcerny closed 2 years ago

davidcerny commented 2 years ago

This branch fixes the mkv_model_gamma_discretized_multistate.Rev script included with the Discrete Morphology tutorial. The script contains an implementation of the Site-Heterogeneous Discrete Morphology (SHDM) model, which extends Wright et al.'s (2016) beta prior approach to relaxing the assumption of equal state frequencies to multistate characters. The previous implementation contained several bugs, which are now fixed here: