Skip to content

Commit

Permalink
refactor using structs
Browse files Browse the repository at this point in the history
  • Loading branch information
getzze committed Sep 6, 2022
1 parent 01dd0c1 commit 9fdc689
Show file tree
Hide file tree
Showing 5 changed files with 701 additions and 226 deletions.
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
RecipesPipeline = "01d81517-befc-4cb6-b9ec-a95719d0359c"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
StatsAPI = "82ae8749-77ed-4fe6-ae5f-f523153014b0"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
StatsModels = "3eaba693-59b7-5ba5-a881-562e759f1c8d"
TableOperations = "ab02a1b2-a7df-11e8-156e-fb1833f50b87"
Expand All @@ -37,6 +38,7 @@ Plots = "1.29"
RecipesBase = "0.6, 0.7, 0.8, 1"
RecipesPipeline = "0.1.6, 0.2, 0.3, 0.4, 0.5"
Reexport = "0.2, 1.0"
StatsAPI = "1.2"
StatsBase = "0.32, 0.33"
StatsModels = "0.6"
TableOperations = "0.2, 0.3, 1.0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ covellipse!([1,0], [1 -0.5; -0.5 3], showaxes=true, label="cov2")

## Coefficient plot

Coefficients of a RegressionModel can be plotted with their standard deviation to easily visualize effect size.
Coefficients of a `StatsAPI.RegressionModel` can be plotted with their standard deviation to easily visualize effect size.
A collection of models can be plotted together if the response variable is identical.

```julia
Expand Down
1 change: 1 addition & 0 deletions src/StatsPlots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import Clustering: Hclust, nnodes
using Interpolations
using MultivariateStats: MultivariateStats
using AbstractFFTs: fft, ifft
using StatsAPI
using StatsModels
using StatsModels: hasintercept, TableRegressionModel, kron_insideout, vectorize
import KernelDensity
Expand Down
Loading

0 comments on commit 9fdc689

Please sign in to comment.