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

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

View source: R/colrow.value.R

Description

Check if any column or row is fill with values.

Usage

1
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

1
2
3
4
x <- matrix(runif(10*10),10,10)
res<-colrow.value(x) 

x<-NULL

Example output

Loading required package: Rcpp
Loading required package: RcppZiggurat

Rfast documentation built on May 18, 2021, 1:07 a.m.