Check if any column or row is fill with values | R Documentation |
Check if any column or row is fill with values.
colrow.value(x,value=0)
x |
A vector with data. |
value |
A value to check. |
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.
A boolean value, "TRUE" if any column OR row is all filled with value. "FALSE" otherwise.
Manos Papadakis
R implementation and documentation: Manos Papadakis <papadakm95@gmail.com>.
rowMins, rowFalse, nth, colrange, colMedians, colVars, colSort, rowSort, rowTrue
x <- matrix(runif(10*10),10,10)
res<-colrow.value(x)
x<-NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.