StatsBase.jl icon indicating copy to clipboard operation
StatsBase.jl copied to clipboard

`proportionmap` input types inconsistent with docs

Open JackDunnNZ opened this issue 3 years ago • 0 comments

The docs for proportionmap require wv::AbstractVector{<:Real} whereas the method definition has wv::AbstractWeights. It looks like the method will still work if loosened to accept wv::AbstractVector{<:Real} (like countmap) but not sure if this is intentional. Either way, it would be good to align the docs and the method definition

JackDunnNZ avatar Nov 04 '22 20:11 JackDunnNZ