smfrac {Tex4exams} | R Documentation |
The function converts multiple decimals into TeX code of back slash fractions.
smfrac(z)
z |
a list of decimal numbers. |
The function returns a string of TeX code for the numbers in back slash fraction form.
The function used function 'rfrac' in the same package which depends on the package 'fractional'.
z <- sample(c(1:55),6)/100
smfrac(z)