allzero: Judge an all zero vector

Description Usage Arguments Details Value Author(s) Examples

Description

A logical function to judge if a vector is all zeros. If so, TRUE will be returned; otherwise, FALSE will be returned

Usage

1

Arguments

x

a numerical vector

Details

A simple tiny function embedded in QICD

Value

TRUE will be returned if the vector contains all zeros, otherwise, FALSE will be returned

Author(s)

Bo Peng

Examples

1
2
x=rep(0,10)
allzero(x)


Search within the QICD package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.