strwidthest | R Documentation |
Pre-computed width of strings without actually calling to graphics and new.plot
. The function can only handle base ASCII characters and default width of those is estimated by using standard 12 pt serif
on a standard plot
. Non-ASCII characters are replaced by an underscore.
strwidthest(s)
s |
string |
numeric value representing the total width of the provided string in millimeters
## Not run: strwidthrel('R') # 71 strwidthrel('R is awesome!') # 635 ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.