str_rank: String displayed for the rank.

Description Usage Arguments

View source: R/display.r

Description

Concatenates the rank number with symbols indicating the progress since the last change.

Usage

1
2
3
4
5
6
str_rank(
  r,
  r_d,
  symb = list(const = icon("fa-arrow-right"), up = icon("fa-arrow-up"), down =
    icon("fa-arrow-down"))
)

Arguments

r

integer. rank

r_d

integer. rank difference

symb

named list of characters. symbols used for the progress in ranking: no change (const), ascent (up) and descent (down)


adrtod/rchallenge documentation built on March 23, 2021, 7:43 a.m.