gt_num | R Documentation |
Convert output of numeric tabulation (redact_summary_num) to gt object
gt_num(x, var_name = "", num_decimals = 1, pct_decimals = 1)
x |
The data.frame produced by |
var_name |
The variable name |
num_decimals |
Decimal precision for numbers |
pct_decimals |
Decimal precision for percentages |
This function takes the output of redact_summary_num
and converts it to a gt object (as from the gt
package) for outputting to html/pdf.
A gt object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.