Description Usage Arguments References
Insert a datalegreya font easily into html outputs using R.
1 2 3 |
object |
A named integer vector with elements of 0, 1, 2, 3 and names corresponding to the characters of the text. |
symbol |
A named integer vector where the name should signify which symbol (min, max, down or up) and the integer specifying above which character it should be placed. |
ylabs |
A string vector of length 2 comprising of string of max length 5 for the bottom and top label of the y-axis. This is NOT working for some reason. |
xlabs |
A string vector of length 2 comprising of string (of max length 5) to be placed on top of the main text. The first string is placed on the start of the main text and the second at the end. Leave as NA to have one or both to display no labels. |
start_value |
An integer between 0 and 3 (inclusive) to specify the starting value of the graph. |
size |
The size of the font. |
type |
The type of datalegreya font, either thin, gradient or dot. |
color, colour |
Colour to be given to the icon |
bgcolor, bgcolour |
Colour to be given to the background |
sother |
Character vector of other parameters directly added to the style classes. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.