{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/sdtaylor/statsBioProject/pulls/2","id":51128262,"html_url":"https://github.com/sdtaylor/statsBioProject/pull/2","diff_url":"https://github.com/sdtaylor/statsBioProject/pull/2.diff","patch_url":"https://github.com/sdtaylor/statsBioProject/pull/2.patch","issue_url":"https://api.github.com/repos/sdtaylor/statsBioProject/issues/2","number":2,"state":"closed","locked":false,"title":"abundance GAMs","user":{"login":"davharris","id":843017,"avatar_url":"https://avatars.githubusercontent.com/u/843017?v=3","gravatar_id":"","url":"https://api.github.com/users/davharris","html_url":"https://github.com/davharris","followers_url":"https://api.github.com/users/davharris/followers","following_url":"https://api.github.com/users/davharris/following{/other_user}","gists_url":"https://api.github.com/users/davharris/gists{/gist_id}","starred_url":"https://api.github.com/users/davharris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davharris/subscriptions","organizations_url":"https://api.github.com/users/davharris/orgs","repos_url":"https://api.github.com/users/davharris/repos","events_url":"https://api.github.com/users/davharris/events{/privacy}","received_events_url":"https://api.github.com/users/davharris/received_events","type":"User","site_admin":false},"body":"The first part of the code is basically copy-pasted from yours, except for the if statement on line 155.  Without it, I got errors outside of the 1995-2010 time frame because of period/plot combinations that never occurred.  R got unhappy about vectors of length 0, I think.\r\n\r\nI thought I'd mention it just in case my if statement doesn't perform the correct behavior.\r\n\r\nAlso, when I go outside the 1995-2010 time frame, the nightlyLookupTable seems to take *much* longer to build (much more than the 3x or 4x slowdown that I'd expected).  I'm not sure what it's doing, but it might be worth looking into.  I don't fully understand that section of the code, so I won't muck around with it, but I thought I should mention the issue.  It might not even be necessary for the kind of analysis I'm doing, but I'm not sure.\r\n\r\nThanks again for your data cleanup!","created_at":"2015-11-18T19:15:46Z","updated_at":"2015-11-18T19:55:50Z","closed_at":"2015-11-18T19:55:50Z","merged_at":"2015-11-18T19:55:50Z","merge_commit_sha":"d5be259e32cab24946d1d377af0f929708b7d6ea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sdtaylor/statsBioProject/pulls/2/commits","review_comments_url":"https://api.github.com/repos/sdtaylor/statsBioProject/pulls/2/comments","review_comment_url":"https://api.github.com/repos/sdtaylor/statsBioProject/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sdtaylor/statsBioProject/issues/2/comments","statuses_url":"https://api.github.com/repos/sdtaylor/statsBioProject/statuses/dc9e3ba912fcc1965f2d52a3d66b91a0d5d3919e","head":{"label":"davharris:master","ref":"master","sha":"dc9e3ba912fcc1965f2d52a3d66b91a0d5d3919e","user":{"login":"davharris","id":843017,"avatar_url":"https://avatars.githubusercontent.com/u/843017?v=3","gravatar_id":"","url":"https://api.github.com/users/davharris","html_url":"https://github.com/davharris","followers_url":"https://api.github.com/users/davharris/followers","following_url":"https://api.github.com/users/davharris/following{/other_user}","gists_url":"https://api.github.com/users/davharris/gists{/gist_id}","starred_url":"https://api.github.com/users/davharris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davharris/subscriptions","organizations_url":"https://api.github.com/users/davharris/orgs","repos_url":"https://api.github.com/users/davharris/repos","events_url":"https://api.github.com/users/davharris/events{/privacy}","received_events_url":"https://api.github.com/users/davharris/received_events","type":"User","site_admin":false},"repo":{"id":46430185,"name":"statsBioProject","full_name":"davharris/statsBioProject","owner":{"login":"davharris","id":843017,"avatar_url":"https://avatars.githubusercontent.com/u/843017?v=3","gravatar_id":"","url":"https://api.github.com/users/davharris","html_url":"https://github.com/davharris","followers_url":"https://api.github.com/users/davharris/followers","following_url":"https://api.github.com/users/davharris/following{/other_user}","gists_url":"https://api.github.com/users/davharris/gists{/gist_id}","starred_url":"https://api.github.com/users/davharris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davharris/subscriptions","organizations_url":"https://api.github.com/users/davharris/orgs","repos_url":"https://api.github.com/users/davharris/repos","events_url":"https://api.github.com/users/davharris/events{/privacy}","received_events_url":"https://api.github.com/users/davharris/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davharris/statsBioProject","description":"A project for Statistical Principles in Biology, Fall 2015. Exploring Portal data by modeling growth rates.","fork":true,"url":"https://api.github.com/repos/davharris/statsBioProject","forks_url":"https://api.github.com/repos/davharris/statsBioProject/forks","keys_url":"https://api.github.com/repos/davharris/statsBioProject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davharris/statsBioProject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davharris/statsBioProject/teams","hooks_url":"https://api.github.com/repos/davharris/statsBioProject/hooks","issue_events_url":"https://api.github.com/repos/davharris/statsBioProject/issues/events{/number}","events_url":"https://api.github.com/repos/davharris/statsBioProject/events","assignees_url":"https://api.github.com/repos/davharris/statsBioProject/assignees{/user}","branches_url":"https://api.github.com/repos/davharris/statsBioProject/branches{/branch}","tags_url":"https://api.github.com/repos/davharris/statsBioProject/tags","blobs_url":"https://api.github.com/repos/davharris/statsBioProject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davharris/statsBioProject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davharris/statsBioProject/git/refs{/sha}","trees_url":"https://api.github.com/repos/davharris/statsBioProject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davharris/statsBioProject/statuses/{sha}","languages_url":"https://api.github.com/repos/davharris/statsBioProject/languages","stargazers_url":"https://api.github.com/repos/davharris/statsBioProject/stargazers","contributors_url":"https://api.github.com/repos/davharris/statsBioProject/contributors","subscribers_url":"https://api.github.com/repos/davharris/statsBioProject/subscribers","subscription_url":"https://api.github.com/repos/davharris/statsBioProject/subscription","commits_url":"https://api.github.com/repos/davharris/statsBioProject/commits{/sha}","git_commits_url":"https://api.github.com/repos/davharris/statsBioProject/git/commits{/sha}","comments_url":"https://api.github.com/repos/davharris/statsBioProject/comments{/number}","issue_comment_url":"https://api.github.com/repos/davharris/statsBioProject/issues/comments{/number}","contents_url":"https://api.github.com/repos/davharris/statsBioProject/contents/{+path}","compare_url":"https://api.github.com/repos/davharris/statsBioProject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davharris/statsBioProject/merges","archive_url":"https://api.github.com/repos/davharris/statsBioProject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davharris/statsBioProject/downloads","issues_url":"https://api.github.com/repos/davharris/statsBioProject/issues{/number}","pulls_url":"https://api.github.com/repos/davharris/statsBioProject/pulls{/number}","milestones_url":"https://api.github.com/repos/davharris/statsBioProject/milestones{/number}","notifications_url":"https://api.github.com/repos/davharris/statsBioProject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davharris/statsBioProject/labels{/name}","releases_url":"https://api.github.com/repos/davharris/statsBioProject/releases{/id}","created_at":"2015-11-18T16:04:45Z","updated_at":"2015-11-18T16:04:46Z","pushed_at":"2015-11-18T18:43:30Z","git_url":"git://github.com/davharris/statsBioProject.git","ssh_url":"git@github.com:davharris/statsBioProject.git","clone_url":"https://github.com/davharris/statsBioProject.git","svn_url":"https://github.com/davharris/statsBioProject","homepage":"","size":21,"stargazers_count":0,"watchers_count":0,"language":"R","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":"sdtaylor:master","ref":"master","sha":"6cef5b62d7b5b5a1f780e05d07cb0f34cd65b360","user":{"login":"sdtaylor","id":12282062,"avatar_url":"https://avatars.githubusercontent.com/u/12282062?v=3","gravatar_id":"","url":"https://api.github.com/users/sdtaylor","html_url":"https://github.com/sdtaylor","followers_url":"https://api.github.com/users/sdtaylor/followers","following_url":"https://api.github.com/users/sdtaylor/following{/other_user}","gists_url":"https://api.github.com/users/sdtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/sdtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdtaylor/subscriptions","organizations_url":"https://api.github.com/users/sdtaylor/orgs","repos_url":"https://api.github.com/users/sdtaylor/repos","events_url":"https://api.github.com/users/sdtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/sdtaylor/received_events","type":"User","site_admin":false},"repo":{"id":44925467,"name":"statsBioProject","full_name":"sdtaylor/statsBioProject","owner":{"login":"sdtaylor","id":12282062,"avatar_url":"https://avatars.githubusercontent.com/u/12282062?v=3","gravatar_id":"","url":"https://api.github.com/users/sdtaylor","html_url":"https://github.com/sdtaylor","followers_url":"https://api.github.com/users/sdtaylor/followers","following_url":"https://api.github.com/users/sdtaylor/following{/other_user}","gists_url":"https://api.github.com/users/sdtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/sdtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdtaylor/subscriptions","organizations_url":"https://api.github.com/users/sdtaylor/orgs","repos_url":"https://api.github.com/users/sdtaylor/repos","events_url":"https://api.github.com/users/sdtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/sdtaylor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sdtaylor/statsBioProject","description":"A project for Statistical Principles in Biology, Fall 2015. Exploring Portal data by modeling growth rates.","fork":false,"url":"https://api.github.com/repos/sdtaylor/statsBioProject","forks_url":"https://api.github.com/repos/sdtaylor/statsBioProject/forks","keys_url":"https://api.github.com/repos/sdtaylor/statsBioProject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sdtaylor/statsBioProject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sdtaylor/statsBioProject/teams","hooks_url":"https://api.github.com/repos/sdtaylor/statsBioProject/hooks","issue_events_url":"https://api.github.com/repos/sdtaylor/statsBioProject/issues/events{/number}","events_url":"https://api.github.com/repos/sdtaylor/statsBioProject/events","assignees_url":"https://api.github.com/repos/sdtaylor/statsBioProject/assignees{/user}","branches_url":"https://api.github.com/repos/sdtaylor/statsBioProject/branches{/branch}","tags_url":"https://api.github.com/repos/sdtaylor/statsBioProject/tags","blobs_url":"https://api.github.com/repos/sdtaylor/statsBioProject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sdtaylor/statsBioProject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sdtaylor/statsBioProject/git/refs{/sha}","trees_url":"https://api.github.com/repos/sdtaylor/statsBioProject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sdtaylor/statsBioProject/statuses/{sha}","languages_url":"https://api.github.com/repos/sdtaylor/statsBioProject/languages","stargazers_url":"https://api.github.com/repos/sdtaylor/statsBioProject/stargazers","contributors_url":"https://api.github.com/repos/sdtaylor/statsBioProject/contributors","subscribers_url":"https://api.github.com/repos/sdtaylor/statsBioProject/subscribers","subscription_url":"https://api.github.com/repos/sdtaylor/statsBioProject/subscription","commits_url":"https://api.github.com/repos/sdtaylor/statsBioProject/commits{/sha}","git_commits_url":"https://api.github.com/repos/sdtaylor/statsBioProject/git/commits{/sha}","comments_url":"https://api.github.com/repos/sdtaylor/statsBioProject/comments{/number}","issue_comment_url":"https://api.github.com/repos/sdtaylor/statsBioProject/issues/comments{/number}","contents_url":"https://api.github.com/repos/sdtaylor/statsBioProject/contents/{+path}","compare_url":"https://api.github.com/repos/sdtaylor/statsBioProject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sdtaylor/statsBioProject/merges","archive_url":"https://api.github.com/repos/sdtaylor/statsBioProject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sdtaylor/statsBioProject/downloads","issues_url":"https://api.github.com/repos/sdtaylor/statsBioProject/issues{/number}","pulls_url":"https://api.github.com/repos/sdtaylor/statsBioProject/pulls{/number}","milestones_url":"https://api.github.com/repos/sdtaylor/statsBioProject/milestones{/number}","notifications_url":"https://api.github.com/repos/sdtaylor/statsBioProject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sdtaylor/statsBioProject/labels{/name}","releases_url":"https://api.github.com/repos/sdtaylor/statsBioProject/releases{/id}","created_at":"2015-10-25T19:19:49Z","updated_at":"2015-10-25T21:29:09Z","pushed_at":"2015-11-18T19:55:51Z","git_url":"git://github.com/sdtaylor/statsBioProject.git","ssh_url":"git@github.com:sdtaylor/statsBioProject.git","clone_url":"https://github.com/sdtaylor/statsBioProject.git","svn_url":"https://github.com/sdtaylor/statsBioProject","homepage":"","size":21,"stargazers_count":0,"watchers_count":0,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sdtaylor/statsBioProject/pulls/2"},"html":{"href":"https://github.com/sdtaylor/statsBioProject/pull/2"},"issue":{"href":"https://api.github.com/repos/sdtaylor/statsBioProject/issues/2"},"comments":{"href":"https://api.github.com/repos/sdtaylor/statsBioProject/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/sdtaylor/statsBioProject/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/sdtaylor/statsBioProject/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sdtaylor/statsBioProject/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/sdtaylor/statsBioProject/statuses/dc9e3ba912fcc1965f2d52a3d66b91a0d5d3919e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sdtaylor","id":12282062,"avatar_url":"https://avatars.githubusercontent.com/u/12282062?v=3","gravatar_id":"","url":"https://api.github.com/users/sdtaylor","html_url":"https://github.com/sdtaylor","followers_url":"https://api.github.com/users/sdtaylor/followers","following_url":"https://api.github.com/users/sdtaylor/following{/other_user}","gists_url":"https://api.github.com/users/sdtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/sdtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdtaylor/subscriptions","organizations_url":"https://api.github.com/users/sdtaylor/orgs","repos_url":"https://api.github.com/users/sdtaylor/repos","events_url":"https://api.github.com/users/sdtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/sdtaylor/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":2,"additions":230,"deletions":0,"changed_files":1}}