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)

geogria/QICD documentation built on May 17, 2019, 1:12 a.m.