Skip to content

Commit 757a271

Browse files
authored
Reexport functions from Statistics (#735)
* Reexport functions from Statistics It does not make any sense to avoid exporting functions from Statistics to which we add methods. These are documented in the manual but currently not available without typing `using Statistics`. The only method from Statistics which we do not overload is `middle`, which this commit does not reexport for now. * Do not reexport varm and stdm
1 parent 89137fc commit 757a271

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/StatsBase.jl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,18 @@ import StatsAPI: pairwise, pairwise!
2626

2727
export
2828

29+
## functions defined in Statistics
30+
cor,
31+
cov,
32+
mean,
33+
mean!,
34+
median,
35+
median!,
36+
quantile,
37+
quantile!,
38+
std,
39+
var,
40+
2941
## weights
3042
AbstractWeights, # abstract type to represent any weight vector
3143
Weights, # to represent a generic weight vector

test/runtests.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ using StatsBase
22
using Dates
33
using LinearAlgebra
44
using Random
5-
using Statistics
65

76
tests = ["ambiguous",
87
"weights",

0 commit comments

Comments
 (0)