as_perc formats a proportion as a percentage to print in an RMarkdown
as_perc(p, digits = 0)
A length-1 numeric to be interpreted as a proportion
Number of digits to round percentage to (default to 0)
p by 100 and affixes a percent sign to the end after
Returns a string to report a percentage to the specified number of digits.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.