R/odd.R

Defines functions odd

Documented in odd

#' @title even
#'
#' @description Checks if an integer is odd.
#'
#' @param x Integer.
#'
#' @return Logical value (TRUE or FALSE). TRUE means that the value is odd.
#'
#' @examples
#' odd(3)
#'
#' @export
odd<-function(x) {return(x %% 2 != 0)}
soilmapper/mapsRinteractive documentation built on March 7, 2020, 8:49 a.m.