is_TRUE: If TRUE or FALSE

Description Arguments Examples

Description

is_TRUE and is_true tests if x is TRUE
is_FALSE and is_false tests if x is FALSE
true_or_false returns whether the condition is true or false

Arguments

x

an R object

Examples

1
2
3
4
5
6
7
8
9

Example output

[1] TRUE
[1] FALSE
[1] FALSE
[1] TRUE
[1] TRUE
[1] FALSE
[1] FALSE
[1] FALSE

tester documentation built on May 2, 2019, 1:09 p.m.