grepColNegNum: Get column names of data.frame who contain negative values

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/extract.R

Description

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

Usage

1

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

1
2
3
4
5
6
7
8
if(require("MASS"))
{
    require("car")
    data(Mroz)
    head(Mroz)
    x <- Mroz
    print(grepColNegNum(Mroz))
}

rrMisc documentation built on June 25, 2021, 3 a.m.