Skip to content

Commit

Permalink
Minor formatting corrections.
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushpatnaikgit committed Aug 28, 2023
1 parent f4e93b3 commit c677962
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/reg.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
glm(formula::FormulaTerm, design::ReplicateDesign, args...; kwargs...)
glm(formula::FormulaTerm, design::ReplicateDesign, args...; kwargs...)
Perform generalized linear modeling (GLM) using the survey design with replicates.
Expand Down Expand Up @@ -28,9 +28,8 @@ julia> glm(@formula(api00 ~ api99), bsrs, Normal())
─────┼──────────────────────
1 │ 63.2831 9.41231
2 │ 0.949762 0.0135488
````
```
"""

function glm(formula::FormulaTerm, design::ReplicateDesign, args...; kwargs...)

rhs_symbols = typeof(formula.rhs) == Term ? Symbol.(formula.rhs) : collect(Symbol.(formula.rhs))
Expand Down
1 change: 0 additions & 1 deletion src/total.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Compute the standard error of the estimated total using replicate weights.
# Examples
```jldoctest; setup = :(using Survey; apiclus1 = load_data("apiclus1"); dclus1 = SurveyDesign(apiclus1; clusters = :dnum, weights = :pw); bclus1 = dclus1 |> bootweights;)
julia> total(:api00, bclus1)
1×2 DataFrame
Row │ total SE
Expand Down

0 comments on commit c677962

Please sign in to comment.