Skip to content

Commit

Permalink
Added wontfix and comment in docstring
Browse files Browse the repository at this point in the history
Fixes #11
  • Loading branch information
lrnv committed Feb 7, 2024
1 parent 8db1a09 commit 56b03d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
pseudos(sample)
Compute the pseudo-observations of a multivariate sample. Note that the sample has to be given in wide format (d,n), where d is the dimension and n the number of observations.
Warning: the order used is ordinal ranking like https://en.wikipedia.org/wiki/Ranking#Ordinal_ranking_.28.221234.22_ranking.29, see `StatsBase.ordinalrank` for the ordering we use. If you want more flexibility, checkout `NormalizeQuantiles.sampleranks`.
"""
pseudos(sample) = transpose(hcat([StatsBase.ordinalrank(sample[i,:])./(size(sample,2)+1) for i in 1:size(sample,1)]...))

0 comments on commit 56b03d0

Please sign in to comment.