tjthurman / BAHZ

An R package for Bayesian analysis of hybrid zones
GNU General Public License v3.0
3 stars 1 forks source link

[BUG] BAHZ estimates increasing cline when data are from decreasing cline #57

Closed tjthurman closed 5 years ago

tjthurman commented 5 years ago

Describe the bug Reported by Jonathan Schmitt. BAHZ estimates an increasing cline, but data are for a decreasing cline.

To Reproduce N/A

Expected behavior Expect the estimated cline to be decreasing, not increasing.

R session info: N/A

Additional context N/A

tjthurman commented 5 years ago

Checked it out, error in the increase/decrease switching statement in the stan model code for phenotypic models.