daijiang / phyr

Functions for phylogenetic analyses
https://daijiang.github.io/phyr/
GNU General Public License v3.0
30 stars 10 forks source link

Bayes #32

Closed daijiang closed 6 years ago

daijiang commented 6 years ago

allow cbind(success, fail) in formula of bayes

daijiang commented 6 years ago

Hi @rdinnager please take a look at my edits for your Bayes code, see whether they are correct. Two main things: 1, I tried to allow cbind(success, fail) in bayes formula too. 2. I simplified a little bit for inla_formula creation. Please take a look at it and see whether this simplification is wrong.

If you think it is okay, please merge it into the master.

Thanks!

daijiang commented 6 years ago

Great. Thanks for reviewing! I will now merge it to the master.