is.zero: Test for a zero value

Description Usage Arguments Details Author(s)

Description

Tests whether the elements of a vector, matrix, or array are equal to zero.

Usage

1
2
3
4
is.zero(x)

## Default S3 method:
is.zero(x)

Arguments

x

x a vector, matrix, array, or other numeric variable.

Details

The test performed for each element of x is

((not missing) and (equal to zero)).

Author(s)

Christopher G. Green christopher.g.green@gmail.com


christopherggreen/cggmisc documentation built on May 13, 2019, 7:04 p.m.