dot-f | R Documentation |
.p()
is the same as .f()
, but multiplies by 100 first (for percents).
.fm()
is the same as .f()
, but puts braces around commas for use in
latex math mode.
.f(x, digits)
.p(x, digits)
.fm(x, digits)
x |
A floating point number |
digits |
Number of decimals to display |
runif(1) |> .f(2)
runif(1) |> .p(2)
runif(1, 100000, 200000) |> .fm(2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.