CRtext_size | R Documentation |
Calculates width and height of un-wrapped text when rendered using the indexed font in font_list.
CRtext_size(font_list, index, text, status = NULL)
font_list |
List of fonts loaded with |
index |
Index into font_list, specifying which font to use. |
text |
Character vector specifying text to be drawn. |
Returns a list with elements width and height.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.