rfrac | R Documentation |
The function converts a decimal into TeX code of vertical fractions, using functions 'denominators' and 'numerators' from the package 'fractional'.
rfrac(x)
x |
a list of decimal numbers. |
The function returns a string of TeX code for the number in vertical fraction form.
The function depends on the package 'fractional'.
mfrac
,smfrac
,rfracF
x <- sample(c(1:55),1)/100
rfrac(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.