Learn R Programming

rchallenge (version 1.2.0)

str_rank: String displayed for the rank.

Description

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

Usage

str_rank(r, r_d, symb = list(const = html_img(glyphicon("right_arrow"), "10px"), up = html_img(glyphicon("up_arrow"), "10px"), down = html_img(glyphicon("down_arrow"), "10px")))

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)