Skip to content

Commit

Permalink
use different order for grp headers and regressand header
Browse files Browse the repository at this point in the history
  • Loading branch information
greimel committed May 4, 2020
1 parent 8815b3b commit 6a8fd8a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/regtable.jl
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,9 @@ function regtable(rr::Union{FixedEffectModel,TableRegressionModel}...;
end

if length(groups) > 0
regressandBlock = ["" reshape(groups, 1, numberOfResults);
regressandBlock]
groupBlock = reshape(string.(groups), :, numberOfResults)
regressandBlock = [regressandBlock;
fill("", size(groupBlock, 1)) groupBlock]
end

# Regression numbering block (if we do it)
Expand Down

0 comments on commit 6a8fd8a

Please sign in to comment.