Logical Operators
These are the available functions for logical operators. See each function's help topic in the TERR Language Reference for more information.
Function name | Title description |
---|---|
!
|
Logical Operators |
!=
|
Comparison Operators |
&
|
Logical Operators |
<
|
Comparison Operators |
>
|
Comparison Operators |
<=
|
Comparison Operators |
>=
|
Comparison Operators |
==
|
Comparison Operators |
|
|
Logical Operators |
||
|
Control Flow |
all
|
Logical Sum and Product |
all.equal
|
Test Two Objects for Full Equality |
all.equal.factor
|
Test Two Objects for Full Equality |
all.equal.numeric
|
Test Two Objects for Full Equality |
all.equal.POSIXct
|
Test Two Objects for Full Equality |
any
|
Logical Sum and Product |
anyDuplicated
|
Determine Duplicate Elements |
anyDuplicated.array
|
Determine Duplicate Elements |
anyDuplicated.data.frame
|
Determine Duplicate Elements |
anyDuplicated.default
|
Determine Duplicate Elements |
anyDuplicated.matrix
|
Determine Duplicate Elements |
anyNA
|
Quickly check for missing (NA) values |
arrayInd
|
Find TRUE Values |
as.logical
|
Logical Objects |
as.logical.factor
|
Logical Objects |
bitwAnd
|
Bitwise Logical Operations |
bitwNot
|
Bitwise Logical Operations |
bitwOr
|
Bitwise Logical Operations |
bitwShiftL
|
Bitwise Logical Operations |
bitwShiftR
|
Bitwise Logical Operations |
bitwXor
|
Bitwise Logical Operations |
break
|
Control Flow |
Comparison
|
Comparison Operators |
complete.cases
|
Find Complete Cases of Observations |
Control
|
Control Flow |
duplicated
|
Determine Duplicate Elements |
duplicated.array
|
Determine Duplicate Elements |
duplicated.data.frame
|
Determine Duplicate Elements |
duplicated.default
|
Determine Duplicate Elements |
duplicated.matrix
|
Determine Duplicate Elements |
duplicated.POSIXlt
|
Determine Duplicate Elements |
else
|
Control Flow |
for
|
Control Flow |
identical
|
Test for Complete Equality |
if
|
Control Flow |
ifelse
|
Conditional Data Selection |
in
|
Control Flow |
is.finite
|
Check IEEE Arithmetic Values |
is.infinite
|
Check IEEE Arithmetic Values |
is.logical
|
Logical Objects |
is.na
|
Not Available / Missing Values |
is.na.data.frame
|
Not Available / Missing Values |
is.na.POSIXlt
|
Not Available / Missing Values |
is.na<-
|
Not Available / Missing Values |
is.na<-.default
|
Not Available / Missing Values |
is.na<-.factor
|
Not Available / Missing Values |
is.nan
|
Check IEEE Arithmetic Values |
isTRUE
|
Test for the Value TRUE |
Logic
|
Logical Operators |
logical
|
Logical Objects |
NA
|
Not Available / Missing Values |
NA_character_
|
Not Available / Missing Values |
NA_complex_
|
Not Available / Missing Values |
NA_integer_
|
Not Available / Missing Values |
NA_real_
|
Not Available / Missing Values |
NaN
|
Not Available / Missing Values |
next
|
Control Flow |
repeat
|
Control Flow |
sign
|
Signum Function |
which
|
Find TRUE Values |
which.max
|
Find the Index of the Minimum or Maximum Value |
which.min
|
Find the Index of the Minimum or Maximum Value |
while
|
Control Flow |
xor
|
Logical Operators |
Parent topic: Mathematics