Learn R Programming

Tex4exams (version 0.1.2)

pos: TeX code for positivity of randomized values

Description

Produce the TeX code of positivity of randomaized values.

Usage

pos(x)

Value

The function returns one of the symbols "<0", ">0", or "=0".

Arguments

x

a numeric number.

See Also

signF

Examples

Run this code
x <- sample(c((-10):10),1)
pos(x)

Run the code above in your browser using DataLab