{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/156","repository_url":"https://api.github.com/repos/JuliaStats/StatsBase.jl","labels_url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/156/comments","events_url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/156/events","html_url":"https://github.com/JuliaStats/StatsBase.jl/pull/156","id":150229980,"number":156,"title":"Allow Any type in CoefTable","user":{"login":"panlanfeng","id":1134797,"avatar_url":"https://avatars.githubusercontent.com/u/1134797?v=3","gravatar_id":"","url":"https://api.github.com/users/panlanfeng","html_url":"https://github.com/panlanfeng","followers_url":"https://api.github.com/users/panlanfeng/followers","following_url":"https://api.github.com/users/panlanfeng/following{/other_user}","gists_url":"https://api.github.com/users/panlanfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/panlanfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panlanfeng/subscriptions","organizations_url":"https://api.github.com/users/panlanfeng/orgs","repos_url":"https://api.github.com/users/panlanfeng/repos","events_url":"https://api.github.com/users/panlanfeng/events{/privacy}","received_events_url":"https://api.github.com/users/panlanfeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-22T00:40:11Z","updated_at":"2016-04-23T16:48:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/pulls/156","html_url":"https://github.com/JuliaStats/StatsBase.jl/pull/156","diff_url":"https://github.com/JuliaStats/StatsBase.jl/pull/156.diff","patch_url":"https://github.com/JuliaStats/StatsBase.jl/pull/156.patch"},"body":"Allow `CoefTable` columns have different types and length.\r\n\r\nAn Example\r\n~~~julia\r\nsrand(10)\r\nv1 = rand(3)\r\nv2 = [\"Good\", \"Great\"]\r\nv3 = rand(Int8, 3)\r\nv4 = PValue(rand(3)./10000)\r\nm = rand(3,4)\r\nCoefTable((v1, v2, v3, v4),\r\n    [\"Estimate\", \"Comments\", \"df\", \"p\"],\r\n    [\"x1\", \"x2\", \"x3\"])\r\n~~~\r\n\r\nThis will print \r\n~~~\r\n     Estimate Comments  df     p\r\nx1   0.112582     Good  88 <1e-4\r\nx2   0.368314    Great -90 <1e-4\r\nx3   0.344454          -80 <1e-4\r\n~~~\r\n\r\nThe previous way is still working:\r\n~~~julia\r\nCoefTable(rand(3,4), [\"Estimate\", \"Stderr\", \"df\", \"p\"], [\"x1\", \"x2\", \"x3\"], 4)\r\n~~~\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/comments/213779464","html_url":"https://github.com/JuliaStats/StatsBase.jl/pull/156#issuecomment-213779464","issue_url":"https://api.github.com/repos/JuliaStats/StatsBase.jl/issues/156","id":213779464,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-04-23T16:48:41Z","updated_at":"2016-04-23T16:48:41Z","body":"\n[![Coverage Status](https://coveralls.io/builds/5904971/badge)](https://coveralls.io/builds/5904971)\n\nCoverage decreased (-0.03%) to 89.157% when pulling **9708ec229ae281ad7f182d443121259d8dec2a9d on panlanfeng:anyCoefTable** into **4f617eb762180c4c400917761f9e42b7935b6759 on JuliaStats:master**.\n"}}