{"action":"created","comment":{"url":"https://api.github.com/repos/nlware/qdnatool/pulls/comments/48019746","id":48019746,"diff_hunk":"@@ -2,11 +2,45 @@\n library(psy)\n \n Analyse <- function(key, input.answers, number.answeroptions) {\n+  # Calculates standard psychometric properties of an exam, notably the \n+  # percentage correct and the item rest correlation (IRC) per item and\n+  # per answer option and the cronbach's alpha for the whole exam.\n+  #\n+  # Arguments:\n+  #   key: Matrix of 0's and 1's. key[i,j] implies wether answer option i \n+\t#        to item j is right (1) or wrong (0). If a row (item) consists of ","path":"app/Lib/Rscripts/analyse.R","position":10,"original_position":10,"commit_id":"80969fd07db767bd7f627eb980a1b65156949e28","original_commit_id":"80969fd07db767bd7f627eb980a1b65156949e28","user":{"login":"SjoerdGlaser","id":12429891,"avatar_url":"https://avatars.githubusercontent.com/u/12429891?v=3","gravatar_id":"","url":"https://api.github.com/users/SjoerdGlaser","html_url":"https://github.com/SjoerdGlaser","followers_url":"https://api.github.com/users/SjoerdGlaser/followers","following_url":"https://api.github.com/users/SjoerdGlaser/following{/other_user}","gists_url":"https://api.github.com/users/SjoerdGlaser/gists{/gist_id}","starred_url":"https://api.github.com/users/SjoerdGlaser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SjoerdGlaser/subscriptions","organizations_url":"https://api.github.com/users/SjoerdGlaser/orgs","repos_url":"https://api.github.com/users/SjoerdGlaser/repos","events_url":"https://api.github.com/users/SjoerdGlaser/events{/privacy}","received_events_url":"https://api.github.com/users/SjoerdGlaser/received_events","type":"User","site_admin":false},"body":"Now two spaces are used consistently. ","created_at":"2015-12-18T12:16:31Z","updated_at":"2015-12-18T12:16:31Z","html_url":"https://github.com/nlware/qdnatool/pull/38#discussion_r48019746","pull_request_url":"https://api.github.com/repos/nlware/qdnatool/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/nlware/qdnatool/pulls/comments/48019746"},"html":{"href":"https://github.com/nlware/qdnatool/pull/38#discussion_r48019746"},"pull_request":{"href":"https://api.github.com/repos/nlware/qdnatool/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/nlware/qdnatool/pulls/38","id":53705292,"html_url":"https://github.com/nlware/qdnatool/pull/38","diff_url":"https://github.com/nlware/qdnatool/pull/38.diff","patch_url":"https://github.com/nlware/qdnatool/pull/38.patch","issue_url":"https://api.github.com/repos/nlware/qdnatool/issues/38","number":38,"state":"open","locked":false,"title":"Bug fix, description added, function is run","user":{"login":"SjoerdGlaser","id":12429891,"avatar_url":"https://avatars.githubusercontent.com/u/12429891?v=3","gravatar_id":"","url":"https://api.github.com/users/SjoerdGlaser","html_url":"https://github.com/SjoerdGlaser","followers_url":"https://api.github.com/users/SjoerdGlaser/followers","following_url":"https://api.github.com/users/SjoerdGlaser/following{/other_user}","gists_url":"https://api.github.com/users/SjoerdGlaser/gists{/gist_id}","starred_url":"https://api.github.com/users/SjoerdGlaser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SjoerdGlaser/subscriptions","organizations_url":"https://api.github.com/users/SjoerdGlaser/orgs","repos_url":"https://api.github.com/users/SjoerdGlaser/repos","events_url":"https://api.github.com/users/SjoerdGlaser/events{/privacy}","received_events_url":"https://api.github.com/users/SjoerdGlaser/received_events","type":"User","site_admin":false},"body":"Three changes have been made:\r\n\r\nA bug is fixed because the analyses could not be performed with 2 items. Now it only runs when at least three items are present.\r\n\r\nA description of the function has been added.\r\n\r\nA call to run the function has been added.\r\n\r\nFuthermore, files of the new project have been removed, so it only contains an update of the old analysis script.","created_at":"2015-12-15T13:52:06Z","updated_at":"2015-12-18T12:16:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nlware/qdnatool/pulls/38/commits","review_comments_url":"https://api.github.com/repos/nlware/qdnatool/pulls/38/comments","review_comment_url":"https://api.github.com/repos/nlware/qdnatool/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nlware/qdnatool/issues/38/comments","statuses_url":"https://api.github.com/repos/nlware/qdnatool/statuses/80969fd07db767bd7f627eb980a1b65156949e28","head":{"label":"SjoerdGlaser:master","ref":"master","sha":"80969fd07db767bd7f627eb980a1b65156949e28","user":{"login":"SjoerdGlaser","id":12429891,"avatar_url":"https://avatars.githubusercontent.com/u/12429891?v=3","gravatar_id":"","url":"https://api.github.com/users/SjoerdGlaser","html_url":"https://github.com/SjoerdGlaser","followers_url":"https://api.github.com/users/SjoerdGlaser/followers","following_url":"https://api.github.com/users/SjoerdGlaser/following{/other_user}","gists_url":"https://api.github.com/users/SjoerdGlaser/gists{/gist_id}","starred_url":"https://api.github.com/users/SjoerdGlaser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SjoerdGlaser/subscriptions","organizations_url":"https://api.github.com/users/SjoerdGlaser/orgs","repos_url":"https://api.github.com/users/SjoerdGlaser/repos","events_url":"https://api.github.com/users/SjoerdGlaser/events{/privacy}","received_events_url":"https://api.github.com/users/SjoerdGlaser/received_events","type":"User","site_admin":false},"repo":{"id":36495266,"name":"qdnatool","full_name":"SjoerdGlaser/qdnatool","owner":{"login":"SjoerdGlaser","id":12429891,"avatar_url":"https://avatars.githubusercontent.com/u/12429891?v=3","gravatar_id":"","url":"https://api.github.com/users/SjoerdGlaser","html_url":"https://github.com/SjoerdGlaser","followers_url":"https://api.github.com/users/SjoerdGlaser/followers","following_url":"https://api.github.com/users/SjoerdGlaser/following{/other_user}","gists_url":"https://api.github.com/users/SjoerdGlaser/gists{/gist_id}","starred_url":"https://api.github.com/users/SjoerdGlaser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SjoerdGlaser/subscriptions","organizations_url":"https://api.github.com/users/SjoerdGlaser/orgs","repos_url":"https://api.github.com/users/SjoerdGlaser/repos","events_url":"https://api.github.com/users/SjoerdGlaser/events{/privacy}","received_events_url":"https://api.github.com/users/SjoerdGlaser/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SjoerdGlaser/qdnatool","description":"qdnatool","fork":true,"url":"https://api.github.com/repos/SjoerdGlaser/qdnatool","forks_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/forks","keys_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/teams","hooks_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/hooks","issue_events_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/issues/events{/number}","events_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/events","assignees_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/assignees{/user}","branches_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/branches{/branch}","tags_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/tags","blobs_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/git/refs{/sha}","trees_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/statuses/{sha}","languages_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/languages","stargazers_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/stargazers","contributors_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/contributors","subscribers_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/subscribers","subscription_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/subscription","commits_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/commits{/sha}","git_commits_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/git/commits{/sha}","comments_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/comments{/number}","issue_comment_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/issues/comments{/number}","contents_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/contents/{+path}","compare_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/merges","archive_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/downloads","issues_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/issues{/number}","pulls_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/pulls{/number}","milestones_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/milestones{/number}","notifications_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/labels{/name}","releases_url":"https://api.github.com/repos/SjoerdGlaser/qdnatool/releases{/id}","created_at":"2015-05-29T09:41:26Z","updated_at":"2015-05-29T09:41:28Z","pushed_at":"2015-12-17T19:32:22Z","git_url":"git://github.com/SjoerdGlaser/qdnatool.git","ssh_url":"git@github.com:SjoerdGlaser/qdnatool.git","clone_url":"https://github.com/SjoerdGlaser/qdnatool.git","svn_url":"https://github.com/SjoerdGlaser/qdnatool","homepage":null,"size":17959,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"nlware:master","ref":"master","sha":"7d3061232607841451a0c992105c71814551a81f","user":{"login":"nlware","id":2925338,"avatar_url":"https://avatars.githubusercontent.com/u/2925338?v=3","gravatar_id":"","url":"https://api.github.com/users/nlware","html_url":"https://github.com/nlware","followers_url":"https://api.github.com/users/nlware/followers","following_url":"https://api.github.com/users/nlware/following{/other_user}","gists_url":"https://api.github.com/users/nlware/gists{/gist_id}","starred_url":"https://api.github.com/users/nlware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlware/subscriptions","organizations_url":"https://api.github.com/users/nlware/orgs","repos_url":"https://api.github.com/users/nlware/repos","events_url":"https://api.github.com/users/nlware/events{/privacy}","received_events_url":"https://api.github.com/users/nlware/received_events","type":"Organization","site_admin":false},"repo":{"id":10028866,"name":"qdnatool","full_name":"nlware/qdnatool","owner":{"login":"nlware","id":2925338,"avatar_url":"https://avatars.githubusercontent.com/u/2925338?v=3","gravatar_id":"","url":"https://api.github.com/users/nlware","html_url":"https://github.com/nlware","followers_url":"https://api.github.com/users/nlware/followers","following_url":"https://api.github.com/users/nlware/following{/other_user}","gists_url":"https://api.github.com/users/nlware/gists{/gist_id}","starred_url":"https://api.github.com/users/nlware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlware/subscriptions","organizations_url":"https://api.github.com/users/nlware/orgs","repos_url":"https://api.github.com/users/nlware/repos","events_url":"https://api.github.com/users/nlware/events{/privacy}","received_events_url":"https://api.github.com/users/nlware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nlware/qdnatool","description":"qdnatool","fork":false,"url":"https://api.github.com/repos/nlware/qdnatool","forks_url":"https://api.github.com/repos/nlware/qdnatool/forks","keys_url":"https://api.github.com/repos/nlware/qdnatool/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nlware/qdnatool/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nlware/qdnatool/teams","hooks_url":"https://api.github.com/repos/nlware/qdnatool/hooks","issue_events_url":"https://api.github.com/repos/nlware/qdnatool/issues/events{/number}","events_url":"https://api.github.com/repos/nlware/qdnatool/events","assignees_url":"https://api.github.com/repos/nlware/qdnatool/assignees{/user}","branches_url":"https://api.github.com/repos/nlware/qdnatool/branches{/branch}","tags_url":"https://api.github.com/repos/nlware/qdnatool/tags","blobs_url":"https://api.github.com/repos/nlware/qdnatool/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nlware/qdnatool/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nlware/qdnatool/git/refs{/sha}","trees_url":"https://api.github.com/repos/nlware/qdnatool/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nlware/qdnatool/statuses/{sha}","languages_url":"https://api.github.com/repos/nlware/qdnatool/languages","stargazers_url":"https://api.github.com/repos/nlware/qdnatool/stargazers","contributors_url":"https://api.github.com/repos/nlware/qdnatool/contributors","subscribers_url":"https://api.github.com/repos/nlware/qdnatool/subscribers","subscription_url":"https://api.github.com/repos/nlware/qdnatool/subscription","commits_url":"https://api.github.com/repos/nlware/qdnatool/commits{/sha}","git_commits_url":"https://api.github.com/repos/nlware/qdnatool/git/commits{/sha}","comments_url":"https://api.github.com/repos/nlware/qdnatool/comments{/number}","issue_comment_url":"https://api.github.com/repos/nlware/qdnatool/issues/comments{/number}","contents_url":"https://api.github.com/repos/nlware/qdnatool/contents/{+path}","compare_url":"https://api.github.com/repos/nlware/qdnatool/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nlware/qdnatool/merges","archive_url":"https://api.github.com/repos/nlware/qdnatool/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nlware/qdnatool/downloads","issues_url":"https://api.github.com/repos/nlware/qdnatool/issues{/number}","pulls_url":"https://api.github.com/repos/nlware/qdnatool/pulls{/number}","milestones_url":"https://api.github.com/repos/nlware/qdnatool/milestones{/number}","notifications_url":"https://api.github.com/repos/nlware/qdnatool/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nlware/qdnatool/labels{/name}","releases_url":"https://api.github.com/repos/nlware/qdnatool/releases{/id}","created_at":"2013-05-13T09:54:39Z","updated_at":"2015-04-05T21:09:53Z","pushed_at":"2015-12-17T19:32:22Z","git_url":"git://github.com/nlware/qdnatool.git","ssh_url":"git@github.com:nlware/qdnatool.git","clone_url":"https://github.com/nlware/qdnatool.git","svn_url":"https://github.com/nlware/qdnatool","homepage":null,"size":18124,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":5,"forks":5,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nlware/qdnatool/pulls/38"},"html":{"href":"https://github.com/nlware/qdnatool/pull/38"},"issue":{"href":"https://api.github.com/repos/nlware/qdnatool/issues/38"},"comments":{"href":"https://api.github.com/repos/nlware/qdnatool/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/nlware/qdnatool/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/nlware/qdnatool/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nlware/qdnatool/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/nlware/qdnatool/statuses/80969fd07db767bd7f627eb980a1b65156949e28"}}}}