Learn R Programming

Tex4exams (version 0.1.2)

smfrac: Convert multiple decimals into TeX code of back slash fractions

Description

The function converts multiple decimals into TeX code of back slash fractions.

Usage

smfrac(z)

Value

The function returns a string of TeX code for the numbers in back slash fraction form.

Arguments

z

a list of decimal numbers.

See Also

mfrac,rfracF,rfrac

Examples

Run this code
z <- sample(c(1:55),6)/100
smfrac(z)

Run the code above in your browser using DataLab