From c677962921226087dea296d7b189544f3e91e851 Mon Sep 17 00:00:00 2001 From: ayushpatnaikgit Date: Mon, 28 Aug 2023 11:17:45 +1000 Subject: [PATCH] Minor formatting corrections. --- src/reg.jl | 5 ++--- src/total.jl | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/reg.jl b/src/reg.jl index ad80d94..7ba177f 100644 --- a/src/reg.jl +++ b/src/reg.jl @@ -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. @@ -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)) diff --git a/src/total.jl b/src/total.jl index 2c285fb..ced0e44 100644 --- a/src/total.jl +++ b/src/total.jl @@ -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