Description Usage Arguments Details Value
Ranks a column and moves the rank column to the first column.
1 2 3 4 5 | compute_rank_at(data = NULL, col_val = NULL, col_rank = "rank",
how = c("desc", "asc"))
compute_rank(data = NULL, col_val = NULL, col_rank = "rank",
how = c("desc", "asc"))
|
data |
data.frame. |
col_val |
character. Name of column whose values to keep for ranking. |
col_rank |
character. Name of rank column. |
how |
character. Either "desc" or "asc". |
Standard evaluation.
data.frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.