colrow.value: Check if any column or row is fill with values

View source: R/colrow.value.R

Check if any column or row is fill with values R Documentation

Check if any column or row is fill with values

Description

Check if any column or row is fill with values.

Usage

colrow.value(x,value=0)

Arguments

x

A vector with data.

value

A value to check.

Details

Check all the column if any has all its elements equal to argument value. If found, return "TRUE". Otherwise continues with rows. If columns and rows hasn't any value vector then return "FALSE". Even if it returns "FALSE" that doesn't mean the determinant can't be value. It might be but if check before and found any value vector then for sure the determinant it'll be value.

Value

A boolean value, "TRUE" if any column OR row is all filled with value. "FALSE" otherwise.

Author(s)

Manos Papadakis

R implementation and documentation: Manos Papadakis <papadakm95@gmail.com>.

See Also

rowMins, rowFalse, nth, colrange, colMedians, colVars, colSort, rowSort, rowTrue

Examples

x <- matrix(runif(10*10),10,10)
res<-colrow.value(x) 

x<-NULL

Rfast documentation built on Nov. 9, 2023, 5:06 p.m.