Description Usage Arguments Details Value Author(s) Examples

shortcut for round with some nice advantage for writing. It does not loose the trailing zeros and add digits when necessary, or return the number in scientific notation when too many (12) digits are necessary to represent the first significant digit.

1 | ```
mround(x, digits=2)
``` |

`x` |
a object of class numeric |

`digits` |
number of digits to print |

This function is a modification of Karl Broman myround function https://github.com/kbroman/broman/blob/master/R/myround.R Returns the value rounded at the indicated number of digits, preserving extra zeros and adding digists when necessary

a numeric value

Marcello Gallucci

1 2 3 4 5 |

mcfanda/StatWriter documentation built on May 22, 2017, 1:11 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.