From eb72cf61ee8bee97e378fb220b5d6f07b2a15516 Mon Sep 17 00:00:00 2001 From: Florian Oswald Date: Wed, 9 Oct 2024 14:00:14 +0200 Subject: [PATCH] Update RegressionStatistics.jl typo in example docs --- src/RegressionStatistics.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/RegressionStatistics.jl b/src/RegressionStatistics.jl index 942544a..3778251 100644 --- a/src/RegressionStatistics.jl +++ b/src/RegressionStatistics.jl @@ -22,7 +22,7 @@ It is also helpful to maintain consistency by defining the value as `val` within For example: ```julia -struct YMean <: RegressionTable.AbstractRegressionStatistic +struct YMean <: RegressionTables.AbstractRegressionStatistic val::Union{Float64, Nothing} end YMean(x::RegressionModel) = try @@ -30,7 +30,7 @@ YMean(x::RegressionModel) = try catch YMean(nothing) end -RegressionTable.label(render::AbstractRenderType, x::Type{YMean}) = "Mean of Y" +RegressionTables.label(render::AbstractRenderType, x::Type{YMean}) = "Mean of Y" ``` """ abstract type AbstractRegressionStatistic <: AbstractRegressionData end @@ -667,4 +667,4 @@ end value(x::ClusterValue) = x.val fill_missing(x::AbstractRegressionData) = missing -fill_missing(x::FixedEffectValue) = FixedEffectValue(false) \ No newline at end of file +fill_missing(x::FixedEffectValue) = FixedEffectValue(false)