{"action":"created","issue":{"url":"https://api.github.com/repos/fcboucher/BBM/issues/3","repository_url":"https://api.github.com/repos/fcboucher/BBM","labels_url":"https://api.github.com/repos/fcboucher/BBM/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/fcboucher/BBM/issues/3/comments","events_url":"https://api.github.com/repos/fcboucher/BBM/issues/3/events","html_url":"https://github.com/fcboucher/BBM/issues/3","id":255662819,"number":3,"title":"Error when bounds is a vector","user":{"login":"rafmarcondes","id":10550098,"avatar_url":"https://avatars1.githubusercontent.com/u/10550098?v=4","gravatar_id":"","url":"https://api.github.com/users/rafmarcondes","html_url":"https://github.com/rafmarcondes","followers_url":"https://api.github.com/users/rafmarcondes/followers","following_url":"https://api.github.com/users/rafmarcondes/following{/other_user}","gists_url":"https://api.github.com/users/rafmarcondes/gists{/gist_id}","starred_url":"https://api.github.com/users/rafmarcondes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafmarcondes/subscriptions","organizations_url":"https://api.github.com/users/rafmarcondes/orgs","repos_url":"https://api.github.com/users/rafmarcondes/repos","events_url":"https://api.github.com/users/rafmarcondes/events{/privacy}","received_events_url":"https://api.github.com/users/rafmarcondes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-06T16:17:37Z","updated_at":"2017-09-08T07:31:02Z","closed_at":null,"author_association":"NONE","body":"Hi Florian,\r\n\r\nI'm getting an error when I try to fit the BBM model with bounds specified as numeric vector. It runs fine when bounds='Fixed'. I'm running R 3.3.3 and the functions downloaded from this repository. I have attached my tr and dat objects. Thank you for any help!\r\n\r\n> BBM=fit_BBM_model_uncertainty(tree=tr, trait=dat, Npts=200, bounds=c(0,1))\r\nError in P %*% expD %*% tP %*% X : non-conformable arguments\r\nIn addition: Warning message:\r\nIn if (bounds == \"Fixed\") { :\r\n  the condition has length > 1 and only the first element will be used\r\nCalled from: ConvProp_bounds(X = tree_formatted2$Pos[[tree_formatted2$tab[i, \r\n    2]]], t = tree_formatted2$tab[i, 3], dCoeff = dCoeff, dMat = dMat, \r\n    bounds)\r\n\r\n\r\n[tr.R.zip](https://github.com/fcboucher/BBM/files/1281787/tr.R.zip)\r\n[dat.R.zip](https://github.com/fcboucher/BBM/files/1281788/dat.R.zip)\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fcboucher/BBM/issues/comments/328024361","html_url":"https://github.com/fcboucher/BBM/issues/3#issuecomment-328024361","issue_url":"https://api.github.com/repos/fcboucher/BBM/issues/3","id":328024361,"user":{"login":"fcboucher","id":15023761,"avatar_url":"https://avatars3.githubusercontent.com/u/15023761?v=4","gravatar_id":"","url":"https://api.github.com/users/fcboucher","html_url":"https://github.com/fcboucher","followers_url":"https://api.github.com/users/fcboucher/followers","following_url":"https://api.github.com/users/fcboucher/following{/other_user}","gists_url":"https://api.github.com/users/fcboucher/gists{/gist_id}","starred_url":"https://api.github.com/users/fcboucher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcboucher/subscriptions","organizations_url":"https://api.github.com/users/fcboucher/orgs","repos_url":"https://api.github.com/users/fcboucher/repos","events_url":"https://api.github.com/users/fcboucher/events{/privacy}","received_events_url":"https://api.github.com/users/fcboucher/received_events","type":"User","site_admin":false},"created_at":"2017-09-08T07:31:02Z","updated_at":"2017-09-08T07:31:02Z","author_association":"OWNER","body":"Yes, it will be difficult to get a better fit that OUMVA, especially on large trees.\r\nGood luck with that!"}}
{"actor":{"display_login":"fcboucher"}}