c2strpm {Tex4exams} | R Documentation |
Convert a sequence of numbers into a string of TeX code for the sequence with plus minus signs for each number of the sequence, where the fractions are in vertical form.
c2strpm(x)
x |
a list of rational numbers. |
The output is a string of rational numbers with backslash denoting division and plus minus signs in front of each number.
x <- sample(c(1:100),5)
x
c2strpm(x)