grepColNegNum {rrMisc}R Documentation

Get column names of data.frame who contain negative values

Description

grepColNegNum() returns the column numbers and names of the numerical columns (numeric and integer) which contain negative numbers

Usage

grepColNegNum(x)

Arguments

x

data.frame

Details

Only numeric attributes (numeric and integer) are searched and reported.

Value

grepColNegNum() returns the column number and names of columns containing negabive numeric values.

Note

under continuous developement

Author(s)

Roland Rapold

References

none

See Also

grepColEntries grepColNames grepColNA grepObjNames grepNotCompleteEntries grepMultipleEntries grepRowNames grepColFactors

Examples

if(require("MASS"))
{
    data(Mroz, package="car")
    head(Mroz)
    print(grepColNegNum(Mroz))
}

[Package rrMisc version 0.31 Index]