Thanks @Rahulub3r
Any suggestion on how I can add time vs dv
mapping also in this loop.
And when I try to run report(f_vec)
I get this error:
[ Info: Calculating required `inspect` results.
ERROR: Unknown argument type `AlgebraOfGraphics.FigureGrid`.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] (::PumasReports.var"#categorise#4"{Vector{Any}, Vector{Any}, Vector{Any}, Vector{Any}})(f::AlgebraOfGraphics.FigureGrid)
@ PumasReports C:\a\PumasSystemImages\PumasSystemImages\julia_depot\packages\PumasReports\y38l5\src\PumasReports.jl:273
[3] (::Base.var"#59#60"{PumasReports.var"#categorise#4"{Vector{Any}, Vector{Any}, Vector{Any}, Vector{Any}}})(#unused#::Nothing, x::AlgebraOfGraphics.FigureGrid)
@ Base .\tuple.jl:602
[4] BottomRF
@ .\reduce.jl:81 [inlined]
[5] afoldl(op::Base.BottomRF{Base.var"#59#60"{PumasReports.var"#categorise#4"{Vector{Any}, Vector{Any}, Vector{Any}, Vector{Any}}}}, a::Nothing, bs::AlgebraOfGraphics.FigureGrid)
@ Base .\operators.jl:535
[6] _foldl_impl(op::Base.BottomRF{Base.var"#59#60"{PumasReports.var"#categorise#4"{Vector{Any}, Vector{Any}, Vector{Any}, Vector{Any}}}}, init::Nothing, itr::Tuple{AlgebraOfGraphics.FigureGrid})
@ Base .\tuple.jl:329
[7] foldl_impl(op::Base.BottomRF{Base.var"#59#60"{PumasReports.var"#categorise#4"{Vector{Any}, Vector{Any}, Vector{Any}, Vector{Any}}}}, nt::Nothing, itr::Tuple{AlgebraOfGraphics.FigureGrid})
@ Base .\reduce.jl:48
[8] mapfoldl_impl(f::typeof(identity), op::Base.var"#59#60"{PumasReports.var"#categorise#4"{Vector{Any}, Vector{Any}, Vector{Any}, Vector{Any}}}, nt::Nothing, itr::Tuple{AlgebraOfGraphics.FigureGrid})
@ Base .\reduce.jl:44
[9] mapfoldl(f::Function, op::Function, itr::Tuple{AlgebraOfGraphics.FigureGrid}; init::Nothing)
@ Base .\reduce.jl:170
[10] mapfoldl
@ .\reduce.jl:170 [inlined]
[11] #foldl#289
@ .\reduce.jl:193 [inlined]
[12] foreach(f::PumasReports.var"#categorise#4"{Vector{Any}, Vector{Any}, Vector{Any}, Vector{Any}}, itr::Tuple{AlgebraOfGraphics.FigureGrid})
@ Base .\tuple.jl:602
[13] PumasReports.ModelBundle(args::Tuple{AlgebraOfGraphics.FigureGrid}; inspect::Bool, infer::Bool)
@ PumasReports C:\a\PumasSystemImages\PumasSystemImages\julia_depot\packages\PumasReports\y38l5\src\PumasReports.jl:274
[14] PumasReports.ModelBundle(args::AlgebraOfGraphics.FigureGrid; inspect::Bool, infer::Bool)
@ PumasReports C:\a\PumasSystemImages\PumasSystemImages\julia_depot\packages\PumasReports\y38l5\src\PumasReports.jl:320
[15] (::PumasReports.var"#14#15"{Base.Pairs{Symbol, Bool, Tuple{Symbol, Symbol}, NamedTuple{(:inspect, :infer), Tuple{Bool, Bool}}}})(::Tuple{Int64, AlgebraOfGraphics.FigureGrid})
@ PumasReports .\none:0
[16] iterate
@ .\generator.jl:47 [inlined]
[17] collect
@ .\array.jl:782 [inlined]
[18] #_named_objects#13
@ C:\a\PumasSystemImages\PumasSystemImages\julia_depot\packages\PumasReports\y38l5\src\PumasReports.jl:330 [inlined]
[19] _named_objects
@ C:\a\PumasSystemImages\PumasSystemImages\julia_depot\packages\PumasReports\y38l5\src\PumasReports.jl:330 [inlined]
[20] report(fitted_models::Vector{AlgebraOfGraphics.FigureGrid}; output::String, title::String, version::VersionNumber, date::DateTime, author::String, categorical::Vector{Any}, force::Bool, inspect::Bool, infer::Bool, clean::Bool, header::String, footer::String, plot_fontsize::Int64, plot_resolution::Tuple{Int64, Int64})
@ PumasReports C:\a\PumasSystemImages\PumasSystemImages\julia_depot\packages\PumasReports\y38l5\src\PumasReports.jl:162
[21] report(fitted_models::Vector{AlgebraOfGraphics.FigureGrid})
@ PumasReports C:\a\PumasSystemImages\PumasSystemImages\julia_depot\packages\PumasReports\y38l5\src\PumasReports.jl:140