using StatsBase, LinearAlgebra
h = normalize(fit(Histogram, randn(100)), mode=:probability)
gives you a structure h
with components edges
and weights
.
using StatsBase, LinearAlgebra
h = normalize(fit(Histogram, randn(100)), mode=:probability)
gives you a structure h
with components edges
and weights
.