{"action":"created","issue":{"url":"https://api.github.com/repos/spatstat/spatstat/issues/32","repository_url":"https://api.github.com/repos/spatstat/spatstat","labels_url":"https://api.github.com/repos/spatstat/spatstat/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/spatstat/spatstat/issues/32/comments","events_url":"https://api.github.com/repos/spatstat/spatstat/issues/32/events","html_url":"https://github.com/spatstat/spatstat/issues/32","id":196192203,"number":32,"title":"Issue 30 fix didn't work","user":{"login":"kcolyvas","id":9460837,"avatar_url":"https://avatars.githubusercontent.com/u/9460837?v=3","gravatar_id":"","url":"https://api.github.com/users/kcolyvas","html_url":"https://github.com/kcolyvas","followers_url":"https://api.github.com/users/kcolyvas/followers","following_url":"https://api.github.com/users/kcolyvas/following{/other_user}","gists_url":"https://api.github.com/users/kcolyvas/gists{/gist_id}","starred_url":"https://api.github.com/users/kcolyvas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcolyvas/subscriptions","organizations_url":"https://api.github.com/users/kcolyvas/orgs","repos_url":"https://api.github.com/users/kcolyvas/repos","events_url":"https://api.github.com/users/kcolyvas/events{/privacy}","received_events_url":"https://api.github.com/users/kcolyvas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-17T03:03:14Z","updated_at":"2016-12-20T09:48:09Z","closed_at":null,"body":"Issue 30 concerned the failure of the summary command on a fitted object using ppm with method=\"logi\".\r\nSee response below from issue 30. After installing spatstat 1.47-0.053 the command still failed. \r\nError in model.matrix.ppm(model) : \r\ninternal error: model matrix does not match glm data frame\r\n\r\nExample code and data set attached.\r\n[LR bug example.R.txt](https://github.com/spatstat/spatstat/files/658619/LR.bug.example.R.txt)\r\n[LR bug example.data.txt](https://github.com/spatstat/spatstat/files/658620/LR.bug.example.data.txt)\r\n\r\n[However the workaround suggestion about NA values did work and we were able to move the next step and found a data frame related issue failure with the envelope command which is the subject of another issue submission. \"This occurs when the data frame contains NA values. (The NA's are dropped in some circumstances and retained in others, leading to a mismatch in the dimensions of data frames.) An immediate workaround is to remove data that contains NA's. Either remove columns of the data frame that contain NA values (and of course remove these variables from the model formula), or remove rows of the data frame that contain NA's and remove the corresponding data points from the quadrature scheme. This bug has been fixed in spatstat 1.47-0.050.\"]\r\n\r\nRegards,\r\nKim"},"comment":{"url":"https://api.github.com/repos/spatstat/spatstat/issues/comments/268200043","html_url":"https://github.com/spatstat/spatstat/issues/32#issuecomment-268200043","issue_url":"https://api.github.com/repos/spatstat/spatstat/issues/32","id":268200043,"user":{"login":"baddstats","id":7161794,"avatar_url":"https://avatars.githubusercontent.com/u/7161794?v=3","gravatar_id":"","url":"https://api.github.com/users/baddstats","html_url":"https://github.com/baddstats","followers_url":"https://api.github.com/users/baddstats/followers","following_url":"https://api.github.com/users/baddstats/following{/other_user}","gists_url":"https://api.github.com/users/baddstats/gists{/gist_id}","starred_url":"https://api.github.com/users/baddstats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baddstats/subscriptions","organizations_url":"https://api.github.com/users/baddstats/orgs","repos_url":"https://api.github.com/users/baddstats/repos","events_url":"https://api.github.com/users/baddstats/events{/privacy}","received_events_url":"https://api.github.com/users/baddstats/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T09:48:09Z","updated_at":"2016-12-20T09:48:09Z","body":"This should now be fixed (in `spatstat 1.47-0.055`)"}}
{"actor":{"display_login":"baddstats"}}