Skip to content

Commit

Permalink
Update xlsout.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
mwsohn committed Jul 4, 2024
1 parent b0dd016 commit cd98482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xlsout.jl
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ function bivariatexls(df::AbstractDataFrame, colvar::Symbol, rowvars::Vector{Sym
else
x = freqtable(df3,varname,colvar,skipmissing=true,weights=df3[wt])
end
rowval = names(x,1)
rowval = first.(sort(collect(names(x,1).pool.invindex), by = x -> x.second))
rowtot = sum(x.array,dims=2)
coltot = sum(x.array,dims=1)

Expand Down

0 comments on commit cd98482

Please sign in to comment.