R/pos.R

Defines functions pos

Documented in pos

## Produce the latex code of positivity of randomaized values.

pos <- function(x){
  if (x>0)
    y <- paste0(">0")
  else if (x==0)
    y <- paste0("=0")
  else 
    y <- paste0("<0")
  return(y)
}

Try the Tex4exams package in your browser

Any scripts or data that you put into this service are public.

Tex4exams documentation built on May 31, 2023, 8:04 p.m.