rank: Customisable Ranking of Numerical and Categorical Data

Provides a flexible alternative to the built-in rank() function called smartrank(). Optionally rank categorical variables by frequency (instead of in alphabetical order), and control whether ranking is based on descending/ascending order. smartrank() is suitable for both numerical and categorical data.

Package details

AuthorSam El-Kamand [aut, cre, cph] (<https://orcid.org/0000-0003-2270-8088>)
MaintainerSam El-Kamand <sam.elkamand@gmail.com>
LicenseMIT + file LICENSE
Version0.1.1
URL https://github.com/selkamand/rank https://selkamand.github.io/rank/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("rank")

Try the rank package in your browser

Any scripts or data that you put into this service are public.

rank documentation built on April 12, 2025, 1:40 a.m.