Description Usage Arguments Value
View source: R/rankings_comparison.R
Compares two rankingDE
by computing the shared elements in different cumulative quantiles of the rankings.
1 2 3 | quantiles_shared(ranking1, ranking2, quantiles = c(0.01, seq(0.05, 1,
length.out = 20)), nmax = min(dim(ranking.df(ranking1))[1],
dim(ranking.df(ranking2))[1]))
|
ranking1 |
a first |
ranking2 |
a second |
quantiles |
quantiles of the distribution that we wat to compare (default is is 20-quantiles). |
nmax |
integer, design the last elemtns where to stop the comparison (default is the minimum length of the two rankings). |
returns a dataframe displaying the number of common elements between the two ranking in the cumulative quantiles.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.