{"action":"opened","number":23,"pull_request":{"url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/pulls/23","id":41670638,"html_url":"https://github.com/bcaffo/LittleInferenceBook/pull/23","diff_url":"https://github.com/bcaffo/LittleInferenceBook/pull/23.diff","patch_url":"https://github.com/bcaffo/LittleInferenceBook/pull/23.patch","issue_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/issues/23","number":23,"state":"open","locked":false,"title":"Generate Rmd file for analysis and correct choose results in 06_common.md","user":{"login":"LYU-Daliang","id":12251941,"avatar_url":"https://avatars.githubusercontent.com/u/12251941?v=3","gravatar_id":"","url":"https://api.github.com/users/LYU-Daliang","html_url":"https://github.com/LYU-Daliang","followers_url":"https://api.github.com/users/LYU-Daliang/followers","following_url":"https://api.github.com/users/LYU-Daliang/following{/other_user}","gists_url":"https://api.github.com/users/LYU-Daliang/gists{/gist_id}","starred_url":"https://api.github.com/users/LYU-Daliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LYU-Daliang/subscriptions","organizations_url":"https://api.github.com/users/LYU-Daliang/orgs","repos_url":"https://api.github.com/users/LYU-Daliang/repos","events_url":"https://api.github.com/users/LYU-Daliang/events{/privacy}","received_events_url":"https://api.github.com/users/LYU-Daliang/received_events","type":"User","site_admin":false},"body":"I want to learn R markdown from the LittleInferenceBook repo, but I find that the md files are helpless in this regard. By modifying the LittleInferenceBook.md, the corresponding Rmd files can be generated, and they are really handy for learning R markdown syntax and format.  I'd like to share them with other students. \r\n\r\nI am afraid that there is a trivial mistake in 06_common.md: it says choose 0, 1 and n - 1 from n are all 1, but I think choose 0 from n is definitely 1, while  choose 1 and n - 1 from n should be n. You can tell it in R: choose(10, 1) and choose(10, 9) are all 10.","created_at":"2015-08-05T11:55:59Z","updated_at":"2015-08-05T11:55:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/pulls/23/commits","review_comments_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/pulls/23/comments","review_comment_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/issues/23/comments","statuses_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/statuses/c32a4404bfcca8f757aa5262c55c7696e4ef5438","head":{"label":"LYU-Daliang:master","ref":"master","sha":"c32a4404bfcca8f757aa5262c55c7696e4ef5438","user":{"login":"LYU-Daliang","id":12251941,"avatar_url":"https://avatars.githubusercontent.com/u/12251941?v=3","gravatar_id":"","url":"https://api.github.com/users/LYU-Daliang","html_url":"https://github.com/LYU-Daliang","followers_url":"https://api.github.com/users/LYU-Daliang/followers","following_url":"https://api.github.com/users/LYU-Daliang/following{/other_user}","gists_url":"https://api.github.com/users/LYU-Daliang/gists{/gist_id}","starred_url":"https://api.github.com/users/LYU-Daliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LYU-Daliang/subscriptions","organizations_url":"https://api.github.com/users/LYU-Daliang/orgs","repos_url":"https://api.github.com/users/LYU-Daliang/repos","events_url":"https://api.github.com/users/LYU-Daliang/events{/privacy}","received_events_url":"https://api.github.com/users/LYU-Daliang/received_events","type":"User","site_admin":false},"repo":{"id":40216115,"name":"LittleInferenceBook","full_name":"LYU-Daliang/LittleInferenceBook","owner":{"login":"LYU-Daliang","id":12251941,"avatar_url":"https://avatars.githubusercontent.com/u/12251941?v=3","gravatar_id":"","url":"https://api.github.com/users/LYU-Daliang","html_url":"https://github.com/LYU-Daliang","followers_url":"https://api.github.com/users/LYU-Daliang/followers","following_url":"https://api.github.com/users/LYU-Daliang/following{/other_user}","gists_url":"https://api.github.com/users/LYU-Daliang/gists{/gist_id}","starred_url":"https://api.github.com/users/LYU-Daliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LYU-Daliang/subscriptions","organizations_url":"https://api.github.com/users/LYU-Daliang/orgs","repos_url":"https://api.github.com/users/LYU-Daliang/repos","events_url":"https://api.github.com/users/LYU-Daliang/events{/privacy}","received_events_url":"https://api.github.com/users/LYU-Daliang/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LYU-Daliang/LittleInferenceBook","description":"A book for the coursera statistical inference class","fork":true,"url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook","forks_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/forks","keys_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/teams","hooks_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/hooks","issue_events_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/issues/events{/number}","events_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/events","assignees_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/assignees{/user}","branches_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/branches{/branch}","tags_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/tags","blobs_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/git/refs{/sha}","trees_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/statuses/{sha}","languages_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/languages","stargazers_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/stargazers","contributors_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/contributors","subscribers_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/subscribers","subscription_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/subscription","commits_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/commits{/sha}","git_commits_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/git/commits{/sha}","comments_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/comments{/number}","issue_comment_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/issues/comments{/number}","contents_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/contents/{+path}","compare_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/merges","archive_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/downloads","issues_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/issues{/number}","pulls_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/pulls{/number}","milestones_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/milestones{/number}","notifications_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/labels{/name}","releases_url":"https://api.github.com/repos/LYU-Daliang/LittleInferenceBook/releases{/id}","created_at":"2015-08-05T00:39:48Z","updated_at":"2015-08-05T00:39:48Z","pushed_at":"2015-08-05T11:36:15Z","git_url":"git://github.com/LYU-Daliang/LittleInferenceBook.git","ssh_url":"git@github.com:LYU-Daliang/LittleInferenceBook.git","clone_url":"https://github.com/LYU-Daliang/LittleInferenceBook.git","svn_url":"https://github.com/LYU-Daliang/LittleInferenceBook","homepage":null,"size":41648,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bcaffo:master","ref":"master","sha":"ce3ccbf1c5f9907d4bc7428856728930c2ffd176","user":{"login":"bcaffo","id":1790075,"avatar_url":"https://avatars.githubusercontent.com/u/1790075?v=3","gravatar_id":"","url":"https://api.github.com/users/bcaffo","html_url":"https://github.com/bcaffo","followers_url":"https://api.github.com/users/bcaffo/followers","following_url":"https://api.github.com/users/bcaffo/following{/other_user}","gists_url":"https://api.github.com/users/bcaffo/gists{/gist_id}","starred_url":"https://api.github.com/users/bcaffo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcaffo/subscriptions","organizations_url":"https://api.github.com/users/bcaffo/orgs","repos_url":"https://api.github.com/users/bcaffo/repos","events_url":"https://api.github.com/users/bcaffo/events{/privacy}","received_events_url":"https://api.github.com/users/bcaffo/received_events","type":"User","site_admin":false},"repo":{"id":23751595,"name":"LittleInferenceBook","full_name":"bcaffo/LittleInferenceBook","owner":{"login":"bcaffo","id":1790075,"avatar_url":"https://avatars.githubusercontent.com/u/1790075?v=3","gravatar_id":"","url":"https://api.github.com/users/bcaffo","html_url":"https://github.com/bcaffo","followers_url":"https://api.github.com/users/bcaffo/followers","following_url":"https://api.github.com/users/bcaffo/following{/other_user}","gists_url":"https://api.github.com/users/bcaffo/gists{/gist_id}","starred_url":"https://api.github.com/users/bcaffo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcaffo/subscriptions","organizations_url":"https://api.github.com/users/bcaffo/orgs","repos_url":"https://api.github.com/users/bcaffo/repos","events_url":"https://api.github.com/users/bcaffo/events{/privacy}","received_events_url":"https://api.github.com/users/bcaffo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bcaffo/LittleInferenceBook","description":"A book for the coursera statistical inference class","fork":false,"url":"https://api.github.com/repos/bcaffo/LittleInferenceBook","forks_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/forks","keys_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/teams","hooks_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/hooks","issue_events_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/issues/events{/number}","events_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/events","assignees_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/assignees{/user}","branches_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/branches{/branch}","tags_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/tags","blobs_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/statuses/{sha}","languages_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/languages","stargazers_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/stargazers","contributors_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/contributors","subscribers_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/subscribers","subscription_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/subscription","commits_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/contents/{+path}","compare_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/merges","archive_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/downloads","issues_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/issues{/number}","pulls_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/pulls{/number}","milestones_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/milestones{/number}","notifications_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/labels{/name}","releases_url":"https://api.github.com/repos/bcaffo/LittleInferenceBook/releases{/id}","created_at":"2014-09-07T03:28:40Z","updated_at":"2015-08-04T15:18:29Z","pushed_at":"2015-07-21T14:07:00Z","git_url":"git://github.com/bcaffo/LittleInferenceBook.git","ssh_url":"git@github.com:bcaffo/LittleInferenceBook.git","clone_url":"https://github.com/bcaffo/LittleInferenceBook.git","svn_url":"https://github.com/bcaffo/LittleInferenceBook","homepage":null,"size":41648,"stargazers_count":161,"watchers_count":161,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":432,"mirror_url":null,"open_issues_count":15,"forks":432,"open_issues":15,"watchers":161,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bcaffo/LittleInferenceBook/pulls/23"},"html":{"href":"https://github.com/bcaffo/LittleInferenceBook/pull/23"},"issue":{"href":"https://api.github.com/repos/bcaffo/LittleInferenceBook/issues/23"},"comments":{"href":"https://api.github.com/repos/bcaffo/LittleInferenceBook/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/bcaffo/LittleInferenceBook/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/bcaffo/LittleInferenceBook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bcaffo/LittleInferenceBook/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/bcaffo/LittleInferenceBook/statuses/c32a4404bfcca8f757aa5262c55c7696e4ef5438"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4027,"deletions":6,"changed_files":15}}