{"action":"created","issue":{"url":"https://api.github.com/repos/xrobin/pROC/issues/32","repository_url":"https://api.github.com/repos/xrobin/pROC","labels_url":"https://api.github.com/repos/xrobin/pROC/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/xrobin/pROC/issues/32/comments","events_url":"https://api.github.com/repos/xrobin/pROC/issues/32/events","html_url":"https://github.com/xrobin/pROC/issues/32","id":326464102,"number":32,"title":"Calculate auc in pROc","user":{"login":"anka0501","id":36705378,"avatar_url":"https://avatars2.githubusercontent.com/u/36705378?v=4","gravatar_id":"","url":"https://api.github.com/users/anka0501","html_url":"https://github.com/anka0501","followers_url":"https://api.github.com/users/anka0501/followers","following_url":"https://api.github.com/users/anka0501/following{/other_user}","gists_url":"https://api.github.com/users/anka0501/gists{/gist_id}","starred_url":"https://api.github.com/users/anka0501/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anka0501/subscriptions","organizations_url":"https://api.github.com/users/anka0501/orgs","repos_url":"https://api.github.com/users/anka0501/repos","events_url":"https://api.github.com/users/anka0501/events{/privacy}","received_events_url":"https://api.github.com/users/anka0501/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-25T10:16:16Z","updated_at":"2018-05-26T19:19:49Z","closed_at":null,"author_association":"NONE","body":"I'm trying to calculate auc based on a pROC package. I use the formula:\r\n\r\nauc(set_temp$def_woe,set_temp$total_pymnt_woe)\r\n\r\nUnfortunately, for some variables, I getting an error:  \r\nError in if (thresholds[tie.idx] == unique.candidates[tie.idx -1]) { : argument is of length zero "},"comment":{"url":"https://api.github.com/repos/xrobin/pROC/issues/comments/392282717","html_url":"https://github.com/xrobin/pROC/issues/32#issuecomment-392282717","issue_url":"https://api.github.com/repos/xrobin/pROC/issues/32","id":392282717,"user":{"login":"anka0501","id":36705378,"avatar_url":"https://avatars2.githubusercontent.com/u/36705378?v=4","gravatar_id":"","url":"https://api.github.com/users/anka0501","html_url":"https://github.com/anka0501","followers_url":"https://api.github.com/users/anka0501/followers","following_url":"https://api.github.com/users/anka0501/following{/other_user}","gists_url":"https://api.github.com/users/anka0501/gists{/gist_id}","starred_url":"https://api.github.com/users/anka0501/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anka0501/subscriptions","organizations_url":"https://api.github.com/users/anka0501/orgs","repos_url":"https://api.github.com/users/anka0501/repos","events_url":"https://api.github.com/users/anka0501/events{/privacy}","received_events_url":"https://api.github.com/users/anka0501/received_events","type":"User","site_admin":false},"created_at":"2018-05-26T19:19:49Z","updated_at":"2018-05-26T19:19:49Z","author_association":"NONE","body":"Thanks for the answer. My predictor variable has infinite values. So probably that's why the error appeared. I realized that this code worked on the older version of R. I reinstalled R from the version 3.5 to 3.4 and it works. "}}
{"actor":{"display_login":"anka0501"}}