is_positive {tester}R Documentation

Is positive

Description

Test if an object is positive

Usage

  is_positive(x)

Arguments

x

an R object

See Also

is_negative

Examples

is_positive(1)
is_positive(0)
is_positive(-1)
is_positive(iris$Species)
is_positive(iris)
is_positive(list(1, 0, -1, iris))

set.seed(999)
M = matrix(rnorm(12), 4, 3)
is_positive(M)

[Package tester version 0.2.0 Index]