style_xxx | R Documentation |
The purpose of style_xxx()
is to convert numeric values in
summary tables to x's of consistent length for mock tables.
See the Table shells vignette
for detailed examples.
style_xxx(x, width = digits + 2, digits = 0)
x |
a numeric or character vector |
width |
the width of output field of x's, including the decimal place |
digits |
the number of digits displayed after the decimal place |
a character vector
style_xxx(7:10, digits = 0)
style_xxx(7:10, digits = 1)
style_xxx(7:10, width = 2, digits = 0)
style_xxx(7:10, width = 5, digits = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.