Displaying 1 result from an estimated 1 matches for "1000x13".
Did you mean:
1000513
2010 May 04
1
Extract rows with non-zero elements
...econd column contains
information about the height of a claim: it might be zero or positive. I
would like to do an analysis on the positive part of this matrix, but I do
need the other colums with this. So if there are like 1000 rows where the
second column is positive, I would like to extract this 1000x13 matrix into
another matrix.
The beginning of my code is:
Cars <- read.csv(filename, header=TRUE, row.names=NULL, sep=";")
attach(Cars)
n <- as.numeric(n)
s <- as.numeric(s)
# et cetera, the other variabeles are declared as numeric or as factors
# I've tried to extract the...