{"action":"created","issue":{"url":"https://api.github.com/repos/jslefche/piecewiseSEM/issues/65","repository_url":"https://api.github.com/repos/jslefche/piecewiseSEM","labels_url":"https://api.github.com/repos/jslefche/piecewiseSEM/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/jslefche/piecewiseSEM/issues/65/comments","events_url":"https://api.github.com/repos/jslefche/piecewiseSEM/issues/65/events","html_url":"https://github.com/jslefche/piecewiseSEM/issues/65","id":172216645,"number":65,"title":"glmmTMB","user":{"login":"MichaelRatajczak","id":21128163,"avatar_url":"https://avatars.githubusercontent.com/u/21128163?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelRatajczak","html_url":"https://github.com/MichaelRatajczak","followers_url":"https://api.github.com/users/MichaelRatajczak/followers","following_url":"https://api.github.com/users/MichaelRatajczak/following{/other_user}","gists_url":"https://api.github.com/users/MichaelRatajczak/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelRatajczak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelRatajczak/subscriptions","organizations_url":"https://api.github.com/users/MichaelRatajczak/orgs","repos_url":"https://api.github.com/users/MichaelRatajczak/repos","events_url":"https://api.github.com/users/MichaelRatajczak/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelRatajczak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-19T20:43:56Z","updated_at":"2016-08-31T19:34:23Z","closed_at":null,"body":"Hi Jon,\r\n\r\nIt would be great if you could add support for the glmmTMB model class.\r\n\r\nMagnusson A, Skaug H, Nielsen A, Berg C, Kristensen K, Maechler M, van Bentham K, Bolker B and Brooks M (2016). glmmTMB: Generalized Linear Mixed Models using Template Model Builder. R package version 0.0.2, https://github.com/glmmTMB\r\n\r\nKind regards,\r\nMichael"},"comment":{"url":"https://api.github.com/repos/jslefche/piecewiseSEM/issues/comments/243875537","html_url":"https://github.com/jslefche/piecewiseSEM/issues/65#issuecomment-243875537","issue_url":"https://api.github.com/repos/jslefche/piecewiseSEM/issues/65","id":243875537,"user":{"login":"jslefche","id":2342999,"avatar_url":"https://avatars.githubusercontent.com/u/2342999?v=3","gravatar_id":"","url":"https://api.github.com/users/jslefche","html_url":"https://github.com/jslefche","followers_url":"https://api.github.com/users/jslefche/followers","following_url":"https://api.github.com/users/jslefche/following{/other_user}","gists_url":"https://api.github.com/users/jslefche/gists{/gist_id}","starred_url":"https://api.github.com/users/jslefche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jslefche/subscriptions","organizations_url":"https://api.github.com/users/jslefche/orgs","repos_url":"https://api.github.com/users/jslefche/repos","events_url":"https://api.github.com/users/jslefche/events{/privacy}","received_events_url":"https://api.github.com/users/jslefche/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T19:34:23Z","updated_at":"2016-08-31T19:34:23Z","body":"Everything should work now except `sem.model.fits` which is ironic given the function in the package to get R^2s is adopted from this package. Will work on that and hopefully provide an update soon.\r\n\r\nExample:\r\n```\r\nlibrary(glmmTMB)\r\n\r\ndata = data.frame(\r\n  y = sample(0:1, 100, replace = T),\r\n  y2 = sample(0:1, 100, replace = T),\r\n  y3 = sample(0:1, 100, replace = T),\r\n  random = letters[1:5]\r\n)\r\n\r\nmodelList = list(\r\n  glmmTMB(y2 ~ y + (1|random), family = \"binomial\", data),\r\n  glmmTMB(y3 ~ y2 + (1|random), family = \"binomial\", data)\r\n)\r\n\r\nsem.basis.set(modelList)\r\n\r\nsem.missing.paths(modelList, data)\r\n\r\nsem.coefs(modelList, data)\r\n\r\nsem.model.fits(modelList, data) # does not work yet!\r\n```"}}
{"actor":{"display_login":"jslefche"}}