-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
project.org] On Behalf Of madr
Sent: Tuesday, December 07, 2010 3:02 PM
To: r-help at r-project.org
Subject: [R] longer object length is not a multiple of shorter object
length
In datamatrix[, "y"] == datamatrix[, "y"][-1] :
longer object length is not a multiple of shorter object length
out = c(FALSE,datamatrix[,'y'] == datamatrix[,'y'][-1])
and I do not know why I get that error, the resulting out matrix is
somehow
one row larger than datamatrix...
all I try to do is filter matrix by dropping rows where [,'y'][-1] ==
[,'y'][+1]