Skip to content

Commit

Permalink
Merge branch 'repdesign-variance' of github.com:nadiaenh/Survey.jl in…
Browse files Browse the repository at this point in the history
…to repdesign-variance
  • Loading branch information
nadiaenh committed Aug 15, 2023
2 parents 36b93ab + c4acd9d commit 18a77dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/by.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ function bydomain(x::Union{Symbol, Vector{Symbol}}, domain,design::Union{SurveyD
gdf = groupby(design.data, domain)
vars = DataFrame[]
for group in gdf
@show unique(group[!, domain])
push!(vars, func(x, subset(group, design), args...; kwargs...))
end
estimates = vcat(vars...)
Expand Down

0 comments on commit 18a77dd

Please sign in to comment.