RegressionTables.jl
RegressionTables.jl copied to clipboard
DivideError: integer division error
trafficstars
I got an error when calling regtable. It was something like this:
regtable(r, renderSettings=latexOutput(), transform_labels=:latex, groups=["1"])
ERROR: DivideError: integer division error
Stacktrace:
[1] div
@ ./int.jl:284 [inlined]
[2] divrem
@ ./div.jl:162 [inlined]
[3] divrem
@ ./div.jl:158 [inlined]
[4] _reshape_uncolon
@ ./reshapedarray.jl:127 [inlined]
[5] reshape(parent::Vector{String}, dims::Tuple{Colon, Int64})
@ Base ./reshapedarray.jl:118
[6] reshape
@ ./reshapedarray.jl:117 [inlined]
[7] regtable(; regressors::Vector{String}, fixedeffects::Vector{String}, labels::Dict{String, String}, align::Symbol, estimformat::String, estim_decoration::RegressionTables.var"#estim_decorator#4"{typeof(identity), Vector{Float64}, Char}, statisticformat::String, below_statistic::Symbol, below_decoration::RegressionTables.var"#34#47", regression_statistics::Vector{Symbol}, custom_statistics::Missing, number_regressions::Bool, number_regressions_decoration::RegressionTables.var"#35#48", groups::Vector{String}, print_fe_section::Bool, print_estimator_section::Bool, standardize_coef::Bool, out_buffer::IOBuffer, transform_labels::Symbol, renderSettings::RenderSettings)
@ RegressionTables ~/.julia/packages/RegressionTables/bj5zD/src/regtable.jl:238
Thanks. Could you post a replicable example?