{"action":"created","issue":{"url":"https://api.github.com/repos/hadley/ggplot2/issues/1109","labels_url":"https://api.github.com/repos/hadley/ggplot2/issues/1109/labels{/name}","comments_url":"https://api.github.com/repos/hadley/ggplot2/issues/1109/comments","events_url":"https://api.github.com/repos/hadley/ggplot2/issues/1109/events","html_url":"https://github.com/hadley/ggplot2/issues/1109","id":77770432,"number":1109,"title":"Tweak position of categorical data","user":{"login":"tongcx","id":1139464,"avatar_url":"https://avatars.githubusercontent.com/u/1139464?v=3","gravatar_id":"","url":"https://api.github.com/users/tongcx","html_url":"https://github.com/tongcx","followers_url":"https://api.github.com/users/tongcx/followers","following_url":"https://api.github.com/users/tongcx/following{/other_user}","gists_url":"https://api.github.com/users/tongcx/gists{/gist_id}","starred_url":"https://api.github.com/users/tongcx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tongcx/subscriptions","organizations_url":"https://api.github.com/users/tongcx/orgs","repos_url":"https://api.github.com/users/tongcx/repos","events_url":"https://api.github.com/users/tongcx/events{/privacy}","received_events_url":"https://api.github.com/users/tongcx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-18T19:13:21Z","updated_at":"2015-06-10T22:41:46Z","closed_at":null,"body":"For the following example\r\n\r\n    x <- c(1,3,2,5)\r\n    y <- c(\"a\",\"c\",\"d\",\"c\")\r\n    qplot(x, y)\r\nHow do I move all points a bit downward? I can use `position_jitter`, but that's random. I think the best solution is to program a customized version of sth like `position_jitter`. However after reading source code\r\nhttps://github.com/hadley/ggplot2/blob/master/R/position-jitter.r\r\nhttps://github.com/hadley/ggplot2/blob/master/R/position-.r\r\nI am still not clear how to achieve this."},"comment":{"url":"https://api.github.com/repos/hadley/ggplot2/issues/comments/110938142","html_url":"https://github.com/hadley/ggplot2/issues/1109#issuecomment-110938142","issue_url":"https://api.github.com/repos/hadley/ggplot2/issues/1109","id":110938142,"user":{"login":"hadley","id":4196,"avatar_url":"https://avatars.githubusercontent.com/u/4196?v=3","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T22:41:46Z","updated_at":"2015-06-10T22:41:46Z","body":"Maybe call it position nudge?"}}