{"action":"opened","issue":{"url":"https://api.github.com/repos/sjPlot/devel/issues/138","repository_url":"https://api.github.com/repos/sjPlot/devel","labels_url":"https://api.github.com/repos/sjPlot/devel/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/sjPlot/devel/issues/138/comments","events_url":"https://api.github.com/repos/sjPlot/devel/issues/138/events","html_url":"https://github.com/sjPlot/devel/issues/138","id":164126324,"number":138,"title":"Treat numerical predictor as ordinal","user":{"login":"JMJofficial","id":20324109,"avatar_url":"https://avatars.githubusercontent.com/u/20324109?v=3","gravatar_id":"","url":"https://api.github.com/users/JMJofficial","html_url":"https://github.com/JMJofficial","followers_url":"https://api.github.com/users/JMJofficial/followers","following_url":"https://api.github.com/users/JMJofficial/following{/other_user}","gists_url":"https://api.github.com/users/JMJofficial/gists{/gist_id}","starred_url":"https://api.github.com/users/JMJofficial/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JMJofficial/subscriptions","organizations_url":"https://api.github.com/users/JMJofficial/orgs","repos_url":"https://api.github.com/users/JMJofficial/repos","events_url":"https://api.github.com/users/JMJofficial/events{/privacy}","received_events_url":"https://api.github.com/users/JMJofficial/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-06T17:06:28Z","updated_at":"2016-07-06T17:06:28Z","closed_at":null,"body":"Is there a way to force the sjp.glmer(..., type = \"pred\",...) function to treat a numerical predictor in the model as an (ordinal) predictor with just a few discrete levels? The problem is that I've self-contrast coded my predictors, rather than inputting them into the mode as factors. As things stand I'm only able to get a graph continuously spanning the whole range of my 'block' predictor (-1.5 to 1.5), whereas what I really want is something like a bar chart with the four levels of the predictor (-1.5, -0.5, 0.5, 1.5) as separate bars, given that the interpolations between them aren't really meaningful.\r\n\r\nMany thanks!"}}
{"actor":{"display_login":"JMJofficial"}}