Learn R Programming

Tex4exams (version 0.1.2)

mfrac: Convert multiple decimals into tex code of vertical fractions

Description

The function converts multiple decimals into tex code of vertical fractions.

Usage

mfrac(z)

Value

The function returns a string of tex code for the numbers in vertical fraction form.

Arguments

z

a list of decimal numbers.

See Also

smfrac,rfracF,rfrac

Examples

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

Run the code above in your browser using DataLab