{"action":"opened","issue":{"url":"https://api.github.com/repos/timcdlucas/INLAutils/issues/51","repository_url":"https://api.github.com/repos/timcdlucas/INLAutils","labels_url":"https://api.github.com/repos/timcdlucas/INLAutils/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/timcdlucas/INLAutils/issues/51/comments","events_url":"https://api.github.com/repos/timcdlucas/INLAutils/issues/51/events","html_url":"https://github.com/timcdlucas/INLAutils/issues/51","id":343123755,"node_id":"MDU6SXNzdWUzNDMxMjM3NTU=","number":51,"title":"data stack in INLA step","user":{"login":"timcdlucas","id":3583796,"node_id":"MDQ6VXNlcjM1ODM3OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/3583796?v=4","gravatar_id":"","url":"https://api.github.com/users/timcdlucas","html_url":"https://github.com/timcdlucas","followers_url":"https://api.github.com/users/timcdlucas/followers","following_url":"https://api.github.com/users/timcdlucas/following{/other_user}","gists_url":"https://api.github.com/users/timcdlucas/gists{/gist_id}","starred_url":"https://api.github.com/users/timcdlucas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timcdlucas/subscriptions","organizations_url":"https://api.github.com/users/timcdlucas/orgs","repos_url":"https://api.github.com/users/timcdlucas/repos","events_url":"https://api.github.com/users/timcdlucas/events{/privacy}","received_events_url":"https://api.github.com/users/timcdlucas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-20T14:14:21Z","updated_at":"2018-07-20T14:14:21Z","closed_at":null,"author_association":"OWNER","body":"```\r\nstk <- inla.stack(data = list(y = dataframe$y), \r\n                  A = list(A, 1),\r\n                  effects = list(s.index,\r\n                                 list(y.intercept = rep(1, length(dataframe$y)),\r\n                                      covariate = dataframe[-1])), \r\n                  tag='est')\r\n                  \r\nstk <- inla.stack(data = list(y = dataframe$y),\r\n                  A = list(A, 1), \r\n                  effects = list(c(s.index, list(y.intercept = 1)),\r\n                                 list(dataframe[-1])),\r\n                  tag='est')\r\n```\r\n\r\nI think both of these formats work in `inla` but only the second seems to work in `INLAstep`. No idea why."}}
{"actor":{"display_login":"timcdlucas"}}