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 23, 2024
1 parent dc42bb2 commit 4a75a88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xlsout.jl
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,8 @@ function bivariatexls(df::AbstractDataFrame,
column_percent::Bool = true,
verbose::Bool = false)

column_percent = false

# colvar has to be a CategoricalArray and must have 2 or more categories
if isa(df[!,colvar], CategoricalArray) == false || length(levels(df[!,colvar])) < 2
error("`",colvar,"` is not a CategoricalArray or does not have two or more levels")
Expand Down

0 comments on commit 4a75a88

Please sign in to comment.