Description Usage Arguments Value Examples

Convert a proportion to a percentage.

1 | ```
percent(x, digits = 1)
``` |

`x` |
A value to convert to a percentage. |

`digits` |
The number of decimal places to round to, passed to the round function. |

percent simply takes a proprtion and converts to a percentage by multiplying by 100 and rounding.

1 2 |

leebunce/leebunce documentation built on July 20, 2018, 11:36 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.