search for: colzeros

Displaying 1 result from an estimated 1 matches for "colzeros".

Did you mean: clzero
2002 May 11
1
deleting invariant rows and cols in a matrix
Greetings, I couldn't find any existing function that would allow me to scan a matrix and eliminate invariant rows and columns so I have started to write a simple routine from scratch. The following code fails because the array index goes out of bounds for obvious reasons you'll see shortly. Start with some data x <- read.table("myex.dat",header=T) x v1 v2 v3 v4 v5 id 1