{"action":"created","comment":{"url":"https://api.github.com/repos/HughParsonage/grattan/pulls/comments/211827744","pull_request_review_id":148331161,"id":211827744,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMTgyNzc0NA==","diff_hunk":"@@ -0,0 +1,32 @@\n+#' Model Rent Assistance\n+#' \n+#' @export \n+#' \n+#' @examples\n+#' sample<- CJ(rent = 1:500, n_dependants = 0:3, has_partner = 0:1 > 0, is_homeowner = 0:1 > 0, lives_in_sharehouse = 0:1 > 0) \n+#' model_rent_assistance(sample, .Prop_rent_paid_by_RA = 0.75, Max_rate = 500, Min_rent = 100)","path":"R/model_rent_assistance.R","position":7,"original_position":7,"commit_id":"bfe334f0b6cc9cf54cf5f09be79b93f644386fba","original_commit_id":"bfe334f0b6cc9cf54cf5f09be79b93f644386fba","user":{"login":"HughParsonage","id":8111628,"node_id":"MDQ6VXNlcjgxMTE2Mjg=","avatar_url":"https://avatars1.githubusercontent.com/u/8111628?v=4","gravatar_id":"","url":"https://api.github.com/users/HughParsonage","html_url":"https://github.com/HughParsonage","followers_url":"https://api.github.com/users/HughParsonage/followers","following_url":"https://api.github.com/users/HughParsonage/following{/other_user}","gists_url":"https://api.github.com/users/HughParsonage/gists{/gist_id}","starred_url":"https://api.github.com/users/HughParsonage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HughParsonage/subscriptions","organizations_url":"https://api.github.com/users/HughParsonage/orgs","repos_url":"https://api.github.com/users/HughParsonage/repos","events_url":"https://api.github.com/users/HughParsonage/events{/privacy}","received_events_url":"https://api.github.com/users/HughParsonage/received_events","type":"User","site_admin":false},"body":"Good find, `pminV` expects equal input so we get undefined behaviour: \r\n\r\n```r\r\npminV(1:6, 1:5)\r\n```","created_at":"2018-08-22T04:46:13Z","updated_at":"2018-08-22T04:46:13Z","html_url":"https://github.com/HughParsonage/grattan/pull/129#discussion_r211827744","pull_request_url":"https://api.github.com/repos/HughParsonage/grattan/pulls/129","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/HughParsonage/grattan/pulls/comments/211827744"},"html":{"href":"https://github.com/HughParsonage/grattan/pull/129#discussion_r211827744"},"pull_request":{"href":"https://api.github.com/repos/HughParsonage/grattan/pulls/129"}},"in_reply_to_id":211827232},"pull_request":{"url":"https://api.github.com/repos/HughParsonage/grattan/pulls/129","id":208169542,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4MTY5NTQy","html_url":"https://github.com/HughParsonage/grattan/pull/129","diff_url":"https://github.com/HughParsonage/grattan/pull/129.diff","patch_url":"https://github.com/HughParsonage/grattan/pull/129.patch","issue_url":"https://api.github.com/repos/HughParsonage/grattan/issues/129","number":129,"state":"open","locked":false,"title":"Rent Assistance","user":{"login":"MatthewKatzen","id":20633283,"node_id":"MDQ6VXNlcjIwNjMzMjgz","avatar_url":"https://avatars2.githubusercontent.com/u/20633283?v=4","gravatar_id":"","url":"https://api.github.com/users/MatthewKatzen","html_url":"https://github.com/MatthewKatzen","followers_url":"https://api.github.com/users/MatthewKatzen/followers","following_url":"https://api.github.com/users/MatthewKatzen/following{/other_user}","gists_url":"https://api.github.com/users/MatthewKatzen/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthewKatzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthewKatzen/subscriptions","organizations_url":"https://api.github.com/users/MatthewKatzen/orgs","repos_url":"https://api.github.com/users/MatthewKatzen/repos","events_url":"https://api.github.com/users/MatthewKatzen/events{/privacy}","received_events_url":"https://api.github.com/users/MatthewKatzen/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-14T05:04:22Z","updated_at":"2018-08-22T04:46:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"51dc3c6e30898524509a8808cd11c6b6ce5a8236","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/HughParsonage/grattan/pulls/129/commits","review_comments_url":"https://api.github.com/repos/HughParsonage/grattan/pulls/129/comments","review_comment_url":"https://api.github.com/repos/HughParsonage/grattan/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HughParsonage/grattan/issues/129/comments","statuses_url":"https://api.github.com/repos/HughParsonage/grattan/statuses/bfe334f0b6cc9cf54cf5f09be79b93f644386fba","head":{"label":"HughParsonage:rent-assistance","ref":"rent-assistance","sha":"bfe334f0b6cc9cf54cf5f09be79b93f644386fba","user":{"login":"HughParsonage","id":8111628,"node_id":"MDQ6VXNlcjgxMTE2Mjg=","avatar_url":"https://avatars1.githubusercontent.com/u/8111628?v=4","gravatar_id":"","url":"https://api.github.com/users/HughParsonage","html_url":"https://github.com/HughParsonage","followers_url":"https://api.github.com/users/HughParsonage/followers","following_url":"https://api.github.com/users/HughParsonage/following{/other_user}","gists_url":"https://api.github.com/users/HughParsonage/gists{/gist_id}","starred_url":"https://api.github.com/users/HughParsonage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HughParsonage/subscriptions","organizations_url":"https://api.github.com/users/HughParsonage/orgs","repos_url":"https://api.github.com/users/HughParsonage/repos","events_url":"https://api.github.com/users/HughParsonage/events{/privacy}","received_events_url":"https://api.github.com/users/HughParsonage/received_events","type":"User","site_admin":false},"repo":{"id":30398321,"node_id":"MDEwOlJlcG9zaXRvcnkzMDM5ODMyMQ==","name":"grattan","full_name":"HughParsonage/grattan","owner":{"login":"HughParsonage","id":8111628,"node_id":"MDQ6VXNlcjgxMTE2Mjg=","avatar_url":"https://avatars1.githubusercontent.com/u/8111628?v=4","gravatar_id":"","url":"https://api.github.com/users/HughParsonage","html_url":"https://github.com/HughParsonage","followers_url":"https://api.github.com/users/HughParsonage/followers","following_url":"https://api.github.com/users/HughParsonage/following{/other_user}","gists_url":"https://api.github.com/users/HughParsonage/gists{/gist_id}","starred_url":"https://api.github.com/users/HughParsonage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HughParsonage/subscriptions","organizations_url":"https://api.github.com/users/HughParsonage/orgs","repos_url":"https://api.github.com/users/HughParsonage/repos","events_url":"https://api.github.com/users/HughParsonage/events{/privacy}","received_events_url":"https://api.github.com/users/HughParsonage/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HughParsonage/grattan","description":"Common quantitative tasks for Australian policy analysts","fork":false,"url":"https://api.github.com/repos/HughParsonage/grattan","forks_url":"https://api.github.com/repos/HughParsonage/grattan/forks","keys_url":"https://api.github.com/repos/HughParsonage/grattan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HughParsonage/grattan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HughParsonage/grattan/teams","hooks_url":"https://api.github.com/repos/HughParsonage/grattan/hooks","issue_events_url":"https://api.github.com/repos/HughParsonage/grattan/issues/events{/number}","events_url":"https://api.github.com/repos/HughParsonage/grattan/events","assignees_url":"https://api.github.com/repos/HughParsonage/grattan/assignees{/user}","branches_url":"https://api.github.com/repos/HughParsonage/grattan/branches{/branch}","tags_url":"https://api.github.com/repos/HughParsonage/grattan/tags","blobs_url":"https://api.github.com/repos/HughParsonage/grattan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HughParsonage/grattan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HughParsonage/grattan/git/refs{/sha}","trees_url":"https://api.github.com/repos/HughParsonage/grattan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HughParsonage/grattan/statuses/{sha}","languages_url":"https://api.github.com/repos/HughParsonage/grattan/languages","stargazers_url":"https://api.github.com/repos/HughParsonage/grattan/stargazers","contributors_url":"https://api.github.com/repos/HughParsonage/grattan/contributors","subscribers_url":"https://api.github.com/repos/HughParsonage/grattan/subscribers","subscription_url":"https://api.github.com/repos/HughParsonage/grattan/subscription","commits_url":"https://api.github.com/repos/HughParsonage/grattan/commits{/sha}","git_commits_url":"https://api.github.com/repos/HughParsonage/grattan/git/commits{/sha}","comments_url":"https://api.github.com/repos/HughParsonage/grattan/comments{/number}","issue_comment_url":"https://api.github.com/repos/HughParsonage/grattan/issues/comments{/number}","contents_url":"https://api.github.com/repos/HughParsonage/grattan/contents/{+path}","compare_url":"https://api.github.com/repos/HughParsonage/grattan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HughParsonage/grattan/merges","archive_url":"https://api.github.com/repos/HughParsonage/grattan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HughParsonage/grattan/downloads","issues_url":"https://api.github.com/repos/HughParsonage/grattan/issues{/number}","pulls_url":"https://api.github.com/repos/HughParsonage/grattan/pulls{/number}","milestones_url":"https://api.github.com/repos/HughParsonage/grattan/milestones{/number}","notifications_url":"https://api.github.com/repos/HughParsonage/grattan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HughParsonage/grattan/labels{/name}","releases_url":"https://api.github.com/repos/HughParsonage/grattan/releases{/id}","deployments_url":"https://api.github.com/repos/HughParsonage/grattan/deployments","created_at":"2015-02-06T06:18:13Z","updated_at":"2018-08-19T05:40:50Z","pushed_at":"2018-08-22T04:37:52Z","git_url":"git://github.com/HughParsonage/grattan.git","ssh_url":"git@github.com:HughParsonage/grattan.git","clone_url":"https://github.com/HughParsonage/grattan.git","svn_url":"https://github.com/HughParsonage/grattan","homepage":"","size":173834,"stargazers_count":9,"watchers_count":9,"language":"R","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":22,"license":null,"forks":5,"open_issues":22,"watchers":9,"default_branch":"master"}},"base":{"label":"HughParsonage:allowances","ref":"allowances","sha":"7389d0ebc9f31ac93cd9f3befac076d753cda51b","user":{"login":"HughParsonage","id":8111628,"node_id":"MDQ6VXNlcjgxMTE2Mjg=","avatar_url":"https://avatars1.githubusercontent.com/u/8111628?v=4","gravatar_id":"","url":"https://api.github.com/users/HughParsonage","html_url":"https://github.com/HughParsonage","followers_url":"https://api.github.com/users/HughParsonage/followers","following_url":"https://api.github.com/users/HughParsonage/following{/other_user}","gists_url":"https://api.github.com/users/HughParsonage/gists{/gist_id}","starred_url":"https://api.github.com/users/HughParsonage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HughParsonage/subscriptions","organizations_url":"https://api.github.com/users/HughParsonage/orgs","repos_url":"https://api.github.com/users/HughParsonage/repos","events_url":"https://api.github.com/users/HughParsonage/events{/privacy}","received_events_url":"https://api.github.com/users/HughParsonage/received_events","type":"User","site_admin":false},"repo":{"id":30398321,"node_id":"MDEwOlJlcG9zaXRvcnkzMDM5ODMyMQ==","name":"grattan","full_name":"HughParsonage/grattan","owner":{"login":"HughParsonage","id":8111628,"node_id":"MDQ6VXNlcjgxMTE2Mjg=","avatar_url":"https://avatars1.githubusercontent.com/u/8111628?v=4","gravatar_id":"","url":"https://api.github.com/users/HughParsonage","html_url":"https://github.com/HughParsonage","followers_url":"https://api.github.com/users/HughParsonage/followers","following_url":"https://api.github.com/users/HughParsonage/following{/other_user}","gists_url":"https://api.github.com/users/HughParsonage/gists{/gist_id}","starred_url":"https://api.github.com/users/HughParsonage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HughParsonage/subscriptions","organizations_url":"https://api.github.com/users/HughParsonage/orgs","repos_url":"https://api.github.com/users/HughParsonage/repos","events_url":"https://api.github.com/users/HughParsonage/events{/privacy}","received_events_url":"https://api.github.com/users/HughParsonage/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HughParsonage/grattan","description":"Common quantitative tasks for Australian policy analysts","fork":false,"url":"https://api.github.com/repos/HughParsonage/grattan","forks_url":"https://api.github.com/repos/HughParsonage/grattan/forks","keys_url":"https://api.github.com/repos/HughParsonage/grattan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HughParsonage/grattan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HughParsonage/grattan/teams","hooks_url":"https://api.github.com/repos/HughParsonage/grattan/hooks","issue_events_url":"https://api.github.com/repos/HughParsonage/grattan/issues/events{/number}","events_url":"https://api.github.com/repos/HughParsonage/grattan/events","assignees_url":"https://api.github.com/repos/HughParsonage/grattan/assignees{/user}","branches_url":"https://api.github.com/repos/HughParsonage/grattan/branches{/branch}","tags_url":"https://api.github.com/repos/HughParsonage/grattan/tags","blobs_url":"https://api.github.com/repos/HughParsonage/grattan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HughParsonage/grattan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HughParsonage/grattan/git/refs{/sha}","trees_url":"https://api.github.com/repos/HughParsonage/grattan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HughParsonage/grattan/statuses/{sha}","languages_url":"https://api.github.com/repos/HughParsonage/grattan/languages","stargazers_url":"https://api.github.com/repos/HughParsonage/grattan/stargazers","contributors_url":"https://api.github.com/repos/HughParsonage/grattan/contributors","subscribers_url":"https://api.github.com/repos/HughParsonage/grattan/subscribers","subscription_url":"https://api.github.com/repos/HughParsonage/grattan/subscription","commits_url":"https://api.github.com/repos/HughParsonage/grattan/commits{/sha}","git_commits_url":"https://api.github.com/repos/HughParsonage/grattan/git/commits{/sha}","comments_url":"https://api.github.com/repos/HughParsonage/grattan/comments{/number}","issue_comment_url":"https://api.github.com/repos/HughParsonage/grattan/issues/comments{/number}","contents_url":"https://api.github.com/repos/HughParsonage/grattan/contents/{+path}","compare_url":"https://api.github.com/repos/HughParsonage/grattan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HughParsonage/grattan/merges","archive_url":"https://api.github.com/repos/HughParsonage/grattan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HughParsonage/grattan/downloads","issues_url":"https://api.github.com/repos/HughParsonage/grattan/issues{/number}","pulls_url":"https://api.github.com/repos/HughParsonage/grattan/pulls{/number}","milestones_url":"https://api.github.com/repos/HughParsonage/grattan/milestones{/number}","notifications_url":"https://api.github.com/repos/HughParsonage/grattan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HughParsonage/grattan/labels{/name}","releases_url":"https://api.github.com/repos/HughParsonage/grattan/releases{/id}","deployments_url":"https://api.github.com/repos/HughParsonage/grattan/deployments","created_at":"2015-02-06T06:18:13Z","updated_at":"2018-08-19T05:40:50Z","pushed_at":"2018-08-22T04:37:52Z","git_url":"git://github.com/HughParsonage/grattan.git","ssh_url":"git@github.com:HughParsonage/grattan.git","clone_url":"https://github.com/HughParsonage/grattan.git","svn_url":"https://github.com/HughParsonage/grattan","homepage":"","size":173834,"stargazers_count":9,"watchers_count":9,"language":"R","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":22,"license":null,"forks":5,"open_issues":22,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HughParsonage/grattan/pulls/129"},"html":{"href":"https://github.com/HughParsonage/grattan/pull/129"},"issue":{"href":"https://api.github.com/repos/HughParsonage/grattan/issues/129"},"comments":{"href":"https://api.github.com/repos/HughParsonage/grattan/issues/129/comments"},"review_comments":{"href":"https://api.github.com/repos/HughParsonage/grattan/pulls/129/comments"},"review_comment":{"href":"https://api.github.com/repos/HughParsonage/grattan/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HughParsonage/grattan/pulls/129/commits"},"statuses":{"href":"https://api.github.com/repos/HughParsonage/grattan/statuses/bfe334f0b6cc9cf54cf5f09be79b93f644386fba"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"HughParsonage"}}