is.odd: Determine if the value is odd.

Description Usage Arguments Value Examples

View source: R/DAISIE_utils.R

Description

Determine if the value is odd.

Usage

1
is.odd(x)

Arguments

x

Object to determine

Value

Boolean indicating if object is odd

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
  testit::assert(
    DAISIE:::is.odd(
      x = 0
    ) == FALSE
  )
  
  testit::assert(
    DAISIE:::is.odd(
      x = 1
    ) == TRUE
  )

xieshu95/Trait_dependent_TraiSIE documentation built on Nov. 22, 2019, 7:51 a.m.