allzero: Judge an all zero vector

Description Usage Arguments Details Value Author(s) Examples

View source: R/QICD.R

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)

QICD documentation built on May 29, 2017, 3:04 p.m.

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