Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tcp-lab/compare_ranks
An R package to compare ranked lists of stuff
https://github.com/tcp-lab/compare_ranks
Last synced: 10 days ago
JSON representation
An R package to compare ranked lists of stuff
- Host: GitHub
- URL: https://github.com/tcp-lab/compare_ranks
- Owner: TCP-Lab
- License: other
- Created: 2024-02-14T14:24:10.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-21T09:42:30.000Z (29 days ago)
- Last Synced: 2024-10-21T13:54:32.291Z (28 days ago)
- Language: R
- Size: 19.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Compare the order of lists
An R package to compare ranked lists of stuff.## Install
From within R, use:
```R
# install.packages("devtools") # If not installed yet
devtools::install_github("TCP-Lab/compare_ranks")
```
## Usage
This package does not have many functions, however, they are all documented and include usage examples.
Check `??` to learn more.
In short:
- `window_compare_rank`: Compare the order of the items in two vectors using a rolling window;
- `continuous_congruency`: Compute the contiguous congruency metric of two vectors.
- `plot_continuous_congruency`: Create a `ggplot2` of the results of one or more continuous congruency comparisons
- `compare_two_way_ranks`: Compare all ranks in a list taken two at a time
- `score_comparisons`: Score all two-way comparisons (e.g. created by `compare_two_way_ranks`)
- `test_comparisons`: Use a non-parametric, permutation-based approach to compute a p-value of the difference in ordering between two vectors a and b, with null hypothesis that the vectors are of different order.