c2str {Tex4exams}R Documentation

Sequence of rational numbers into comma separated string

Description

Convert a sequence of rational numbers into a string separated with a comma where the fractions are in backslash form.

Usage

c2str(x)

Arguments

x

a list of rational numbers.

Details

The output string was originally designed for 'string' type answers of 'R/exams' when a sequence of rational numbers are the answers from multiple parts of the question.

Value

The output is a string of rational numbers with backslash denoting division.

See Also

c2strpm

Examples

 x <- sample(c(1:100),5)/100
 x
 c2str(x)


[Package Tex4exams version 0.1.2 Index]