{"action":"created","issue":{"url":"https://api.github.com/repos/brianstock/MixSIAR/issues/149","repository_url":"https://api.github.com/repos/brianstock/MixSIAR","labels_url":"https://api.github.com/repos/brianstock/MixSIAR/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/brianstock/MixSIAR/issues/149/comments","events_url":"https://api.github.com/repos/brianstock/MixSIAR/issues/149/events","html_url":"https://github.com/brianstock/MixSIAR/issues/149","id":354561403,"node_id":"MDU6SXNzdWUzNTQ1NjE0MDM=","number":149,"title":"Alligator example","user":{"login":"Daniel-Gorman","id":42760611,"node_id":"MDQ6VXNlcjQyNzYwNjEx","avatar_url":"https://avatars2.githubusercontent.com/u/42760611?v=4","gravatar_id":"","url":"https://api.github.com/users/Daniel-Gorman","html_url":"https://github.com/Daniel-Gorman","followers_url":"https://api.github.com/users/Daniel-Gorman/followers","following_url":"https://api.github.com/users/Daniel-Gorman/following{/other_user}","gists_url":"https://api.github.com/users/Daniel-Gorman/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniel-Gorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniel-Gorman/subscriptions","organizations_url":"https://api.github.com/users/Daniel-Gorman/orgs","repos_url":"https://api.github.com/users/Daniel-Gorman/repos","events_url":"https://api.github.com/users/Daniel-Gorman/events{/privacy}","received_events_url":"https://api.github.com/users/Daniel-Gorman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-08-28T03:56:14Z","updated_at":"2018-08-31T01:04:31Z","closed_at":null,"author_association":"NONE","body":"Hi Brian, fairly new user of MixSIAR. I am trying to run the script for the recently included Alligator example through R Studio, but I don’t seem to be able to get past line 173. This then appears to mean that I cannot subsequently ‘compare_models’ (screenshot below). Apologies if it’s a naively simple issue, but any advice would be greatly appreciated. \r\n \r\n![image](https://user-images.githubusercontent.com/42760611/44699932-1e5ec880-aab9-11e8-9cfa-c95183590a02.png)\r\n\r\nAttached also is Sessioninfo():\r\n \r\n![image](https://user-images.githubusercontent.com/42760611/44699949-2ae32100-aab9-11e8-9c48-4b6f4c2e2102.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/brianstock/MixSIAR/issues/comments/417516490","html_url":"https://github.com/brianstock/MixSIAR/issues/149#issuecomment-417516490","issue_url":"https://api.github.com/repos/brianstock/MixSIAR/issues/149","id":417516490,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzUxNjQ5MA==","user":{"login":"Daniel-Gorman","id":42760611,"node_id":"MDQ6VXNlcjQyNzYwNjEx","avatar_url":"https://avatars2.githubusercontent.com/u/42760611?v=4","gravatar_id":"","url":"https://api.github.com/users/Daniel-Gorman","html_url":"https://github.com/Daniel-Gorman","followers_url":"https://api.github.com/users/Daniel-Gorman/followers","following_url":"https://api.github.com/users/Daniel-Gorman/following{/other_user}","gists_url":"https://api.github.com/users/Daniel-Gorman/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniel-Gorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniel-Gorman/subscriptions","organizations_url":"https://api.github.com/users/Daniel-Gorman/orgs","repos_url":"https://api.github.com/users/Daniel-Gorman/repos","events_url":"https://api.github.com/users/Daniel-Gorman/events{/privacy}","received_events_url":"https://api.github.com/users/Daniel-Gorman/received_events","type":"User","site_admin":false},"created_at":"2018-08-31T01:04:31Z","updated_at":"2018-08-31T01:04:31Z","author_association":"NONE","body":"Hi Brian - this worked - thanks greatly. \r\nSo, now I’m almost where I want to be, but I fear that the \"hard part\" is yet to come. My covariate (‘distance’) model includes 6 dietary sources (which makes interpretation very difficult). What I would like to do is combine the 6 sources – into 3 groups (a posteriori).. \r\nSomething like this (taken from the Mantis e.g.):\r\n\r\ncombined <- combine_sources(jags.model, mix, source, alpha.spec, \r\n                            groups=list(group1=c(\"source1\",\"source2\"), group2=c(\"source3\",\"source4\"), group3=c(\"source5\",\"source6\")))\r\n\r\n..and then Plot [group] proportions vs. ‘distance’ from covariate model. \r\nI'm currently trying to merge the code from Mantis (combine) + Alligator (plot proportions vs. length) > but not getting very far :0\r\nAny advice on how to move forward, greatly appreciated.\r\n"}}
{"actor":{"display_login":"Daniel-Gorman"}}