{"action":"created","issue":{"url":"https://api.github.com/repos/africanmathsinitiative/R-Instat/issues/5549","repository_url":"https://api.github.com/repos/africanmathsinitiative/R-Instat","labels_url":"https://api.github.com/repos/africanmathsinitiative/R-Instat/issues/5549/labels{/name}","comments_url":"https://api.github.com/repos/africanmathsinitiative/R-Instat/issues/5549/comments","events_url":"https://api.github.com/repos/africanmathsinitiative/R-Instat/issues/5549/events","html_url":"https://github.com/africanmathsinitiative/R-Instat/issues/5549","id":506342321,"node_id":"MDU6SXNzdWU1MDYzNDIzMjE=","number":5549,"title":"Tooltips and improvements to the calculator probability keyboard","user":{"login":"rdstern","id":11226469,"node_id":"MDQ6VXNlcjExMjI2NDY5","avatar_url":"https://avatars0.githubusercontent.com/u/11226469?v=4","gravatar_id":"","url":"https://api.github.com/users/rdstern","html_url":"https://github.com/rdstern","followers_url":"https://api.github.com/users/rdstern/followers","following_url":"https://api.github.com/users/rdstern/following{/other_user}","gists_url":"https://api.github.com/users/rdstern/gists{/gist_id}","starred_url":"https://api.github.com/users/rdstern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdstern/subscriptions","organizations_url":"https://api.github.com/users/rdstern/orgs","repos_url":"https://api.github.com/users/rdstern/repos","events_url":"https://api.github.com/users/rdstern/events{/privacy}","received_events_url":"https://api.github.com/users/rdstern/received_events","type":"User","site_admin":false},"labels":[{"id":618559004,"node_id":"MDU6TGFiZWw2MTg1NTkwMDQ=","url":"https://api.github.com/repos/africanmathsinitiative/R-Instat/labels/Menu:%20Prepare","name":"Menu: Prepare","color":"f9d0c4","default":false},{"id":271248537,"node_id":"MDU6TGFiZWwyNzEyNDg1Mzc=","url":"https://api.github.com/repos/africanmathsinitiative/R-Instat/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"Wycklife","id":33898404,"node_id":"MDQ6VXNlcjMzODk4NDA0","avatar_url":"https://avatars0.githubusercontent.com/u/33898404?v=4","gravatar_id":"","url":"https://api.github.com/users/Wycklife","html_url":"https://github.com/Wycklife","followers_url":"https://api.github.com/users/Wycklife/followers","following_url":"https://api.github.com/users/Wycklife/following{/other_user}","gists_url":"https://api.github.com/users/Wycklife/gists{/gist_id}","starred_url":"https://api.github.com/users/Wycklife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wycklife/subscriptions","organizations_url":"https://api.github.com/users/Wycklife/orgs","repos_url":"https://api.github.com/users/Wycklife/repos","events_url":"https://api.github.com/users/Wycklife/events{/privacy}","received_events_url":"https://api.github.com/users/Wycklife/received_events","type":"User","site_admin":false},"assignees":[{"login":"Wycklife","id":33898404,"node_id":"MDQ6VXNlcjMzODk4NDA0","avatar_url":"https://avatars0.githubusercontent.com/u/33898404?v=4","gravatar_id":"","url":"https://api.github.com/users/Wycklife","html_url":"https://github.com/Wycklife","followers_url":"https://api.github.com/users/Wycklife/followers","following_url":"https://api.github.com/users/Wycklife/following{/other_user}","gists_url":"https://api.github.com/users/Wycklife/gists{/gist_id}","starred_url":"https://api.github.com/users/Wycklife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wycklife/subscriptions","organizations_url":"https://api.github.com/users/Wycklife/orgs","repos_url":"https://api.github.com/users/Wycklife/repos","events_url":"https://api.github.com/users/Wycklife/events{/privacy}","received_events_url":"https://api.github.com/users/Wycklife/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2019-10-13T15:46:59Z","updated_at":"2019-10-13T18:55:11Z","closed_at":null,"author_association":"COLLABORATOR","body":"Here is the second keyboard for the tooltips. At the same time I suggest some improvements and the correction of an error.\r\n1. **_The errors first._**  In the existing keyboard the pF key actually delivers the pchisq function.  Correct this to give pf.  And the pchi key gives pt! So change that to give pchisq.  Then change pF and qF keys to **_pf_** and **_qf_** (which corresponds to the function names.) \r\n2. There are currently 18 keys in the keyboard, but they are not in logical and clear positions.  I propose an improved layout together with the addition of 12 more keys.  So there will be a 5  by 6 array of keys.  As follows:\r\n\r\nRow 1: pnorm, pt, pchisq, pF, pgamma\r\nRow 2: qnorm, qt, qchisq, qF, qgamma\r\nRow 3: pbeta, pbirth, pbinom, ppois, pnbin\r\nRow 4: qbeta, qbirth, qbinom, qpois, qnbin\r\nRow 5: fact, choose, beta, gamma, digamma\r\nRow 6: lfact, lchoose, lbeta, lgamma, trigamma\r\n\r\nNote, if need be, then some of the keys can be shortened to fit, e.g. pbin could be instead of pbinom.  \r\n\r\nThe distrbutions are all described in [this page](https://stat.ethz.ch/R-manual/R-devel/library/stats/html/Distributions.html). For example pbirth is the birthday problem, function pbirthday and qbirthday.  That distribution is a useful idea in teaching. \r\n\r\nNext the tooltips for these keys.\r\n "},"comment":{"url":"https://api.github.com/repos/africanmathsinitiative/R-Instat/issues/comments/541446817","html_url":"https://github.com/africanmathsinitiative/R-Instat/issues/5549#issuecomment-541446817","issue_url":"https://api.github.com/repos/africanmathsinitiative/R-Instat/issues/5549","id":541446817,"node_id":"MDEyOklzc3VlQ29tbWVudDU0MTQ0NjgxNw==","user":{"login":"rdstern","id":11226469,"node_id":"MDQ6VXNlcjExMjI2NDY5","avatar_url":"https://avatars0.githubusercontent.com/u/11226469?v=4","gravatar_id":"","url":"https://api.github.com/users/rdstern","html_url":"https://github.com/rdstern","followers_url":"https://api.github.com/users/rdstern/followers","following_url":"https://api.github.com/users/rdstern/following{/other_user}","gists_url":"https://api.github.com/users/rdstern/gists{/gist_id}","starred_url":"https://api.github.com/users/rdstern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdstern/subscriptions","organizations_url":"https://api.github.com/users/rdstern/orgs","repos_url":"https://api.github.com/users/rdstern/repos","events_url":"https://api.github.com/users/rdstern/events{/privacy}","received_events_url":"https://api.github.com/users/rdstern/received_events","type":"User","site_admin":false},"created_at":"2019-10-13T18:55:11Z","updated_at":"2019-10-13T18:55:11Z","author_association":"COLLABORATOR","body":"Suggested tooltips for new keyboard:\r\n**_pnorm:_** normal probabilities. For example: pnorm(-1.6449) = 0.05; pnorm(130,100,15) = 0.9772.\r\n**_pt:_** t probabilities. For example pt(-2,5) = 0.051; pt(-2,1000) = 0.0229 ~ pnorm(-2)\r\n**_pchisq:_** chi square probabilities. For example pchisq(5,1) = 0.9747; pchisq(5,10) = 0.1088\r\n**pf:** F probabilities. For example pf(2,1,10) = 0.8123; pf(2,50,50) = 0.9921\r\n**_qnorm:_** normal quantiles. For example qnorm(0.05) = -1.6449; qnorm(0.9772, 100,15) = 130\r\n**_qt:_** t quantiles. For example qt(0.05) = \r\nto be continued"}}
{"actor":{"display_login":"rdstern"}}