Skip to content

Implement 'rank'  #760

@arunsrinivasan

Description

@arunsrinivasan

This is really straightforward from forder. Ranking types (from base::rank):

  • min
  • max
  • first
  • average
  • random

plus extra...

  • dense
  • runlength - will have to provide this as another function, not really ranking method.

na.last =

  • TRUE
  • FALSE
  • NA
  • "keep"

order

  • decreasing order

Note that this will/should work on list input as well. Not just vectors like base.

Here is an Q from SO that could greatly benefit from this.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions