Q matrix definition issue

73 views
Skip to first unread message

Nadir Alvarez

unread,
Oct 14, 2016, 1:16:37 AM10/14/16
to revbayes-users
Hello,

I am following the tutorial for the DEC analysis step by step (without any modification) and at the stage of defining the Q matrix, I am facing the following issue:

> q := fnFreeK(er, bf)
   Error: Argument or label mismatch for function call 'fnFreeK' with arguments ( Simplex<deterministic>, Simplex<constant> ).
   Correct usage is:
   fnFreeK (RealPos[][]|RealPos[]<any> transition_rates)

Has anyone already spotted this? What might be wrong here?

Thanks!

Nadir

Michael Landis

unread,
Oct 18, 2016, 4:34:48 PM10/18/16
to revbayes-users
Hi Nadir,

Thanks for raising this issue. I updated the biogeography tutorial/scripts to fix your error: https://github.com/revbayes/revbayes_tutorial/raw/master/tutorial_TeX/RB_Biogeography_Tutorial/RB_Biogeography_Tutorial.pdf

We recently simplified the parameterization for the rate matrix function `fnFreeK` so it no longer required the stationaryFrequencies parameter (`bf`), but the biogeography tutorial/scripts did not reflect these changes.

More additions to that tutorial to come over the next few months!

Michael
Reply all
Reply to author
Forward
0 new messages